Hello postfix-users,

I was playing around with a custom Postfix installation, and I noticed that 
Postfix
rejects email whose recipient's address starts with a hyphen "-" (e.g. 
-1...@example.com) I did some reading on RFC 5322 and it looks like this should 
be allowed.

page 15

 atext           =   ALPHA / DIGIT /    ; Printable US-ASCII
                       "!" / "#" /        ;  characters not including
                       "$" / "%" /        ;  specials.  Used for atoms.
                       "&" / "'" /
                       "*" / "+" /
                       "-" / "/" /
                       "=" / "?" /
                       "^" / "_" /
                       "`" / "{" /
                       "|" / "}" /
                       "~"

   atom            =   [CFWS] 1*atext [CFWS]

   dot-atom-text   =   1*atext *("." 1*atext)

   dot-atom        =   [CFWS] dot-atom-text [CFWS]

page 17:

 addr-spec       =   local-part "@" domain

   local-part      =   dot-atom / quoted-string / obs-local-part


Am I misunderstanding the standard? Is there an option in Postfix that I can 
configure to allow email addresses that begin with a hyphen?

Thanks.
Mr sxkywp

Reply via email to