space character in email address

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

space character in email address

PeterDaem
Hi,

i am seeing lines in postfix logs like this:

postfix/qmgr[1084]: 955AE4009A: from=<cesar [hidden email]>, size=10346, nrcpt=1 (queue active)

please note the "space" in the user part of the from between cesar and burklez

my understading was that no space was allowed in an email addresss... 

am i right?

Regards,

---------
Pedro.



Reply | Threaded
Open this post in threaded view
|

Re: space character in email address

PeterDaem
Fool me... 

crystal clear!

Thanks Boris, Danke!




From: Boris Behrens <[hidden email]>
To: Pedro David Marco <[hidden email]>
Cc: Postfix Users <[hidden email]>
Sent: Tuesday, November 22, 2016 10:58 AM
Subject: Re: space character in email address

Check this:
  • space and "(),:;<>@[\] characters are allowed with restrictions (they are only allowed inside a quoted string, as described in the paragraph below, and in addition, a backslash or double-quote must be preceded by a backslash);

Best regards
 Boris

Am 22.11.2016 um 10:51 schrieb Pedro David Marco <[hidden email]>:

Hi,

i am seeing lines in postfix logs like this:

postfix/qmgr[1084]: 955AE4009A: from=<cesar [hidden email]>, size=10346, nrcpt=1 (queue active)

please note the "space" in the user part of the from between cesar and burklez

my understading was that no space was allowed in an email addresss... 

am i right?

Regards,

---------
Pedro.






Reply | Threaded
Open this post in threaded view
|

Re: space character in email address

Wietse Venema
In reply to this post by PeterDaem
Pedro David Marco:
> Hi,
> i am seeing lines in postfix logs like this:
> postfix/qmgr[1084]: 955AE4009A: from=<cesar [hidden email]>, size=10346, nrcpt=1 (queue active)
>
> please note the "space" in the user part of the from between cesar and burklez
> my understading was that no space was allowed in an email addresss...?
> am i right?

Space in the localpart is allowed, provided that it is quoted, as
in "cesar burklez"@server1...

The logging does not show the quotes, but it probably should.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: space character in email address

PeterDaem
Thanks Wietse... 

log parsing in this cases is hard, so probably i will reject mails with spaces via sender_access since 
so far only spammers use spaces...





From: Wietse Venema <[hidden email]>
To: Postfix users <[hidden email]>
Sent: Tuesday, November 22, 2016 12:40 PM
Subject: Re: space character in email address

Pedro David Marco:

> Hi,
> i am seeing lines in postfix logs like this:
> postfix/qmgr[1084]: 955AE4009A: from=<cesar [hidden email]>, size=10346, nrcpt=1 (queue active)
>
> please note the "space" in the user part of the from between cesar and burklez
> my understading was that no space was allowed in an email addresss...?
> am i right?


Space in the localpart is allowed, provided that it is quoted, as
in "cesar burklez"@server1...

The logging does not show the quotes, but it probably should.

    Wietse