procmail
[Top] [All Lists]

Re: FROM_MAILER test discarding legit mail - who's problem?

2007-09-21 13:37:25
On 21-Sep-2007, at 08:50, Michelle Konzack wrote:
You can use ANY COMBINATION of "a-zA-Z0-9.-" and if the MTA allows  
the "_".

That's not right, and that sort of thinking is what causes most  
websites to screw up on + delimited addresses.  the characters  
allowed in the username portion of the address are outlined in RFC2822

     * All alpha numerics (A-Za-z0-9)
     * The characters ! # $ % * / ? | ^ { } ` ~ & ' + - = _
     * The character ., non-repeated, as long as it is not first or last

fred#smith(_at_)mydoamin(_dot_)tld
mark+jones(_at_)mydomain(_dot_)tld
#!$%!^{fred}(_at_)mydomain(_dot_)tld
alice(_dot_)williams(_at_)mydoamin(_dot_)tld

are all perfectly legal.  Yes, even #!$%!^{fred}(_at_)mydomain(_dot_)tld

jon(_dot_)(_at_)mydoamin(_dot_)tld
fred(_dot_)(_dot_)smith(_at_)mydoamin(_dot_)tld

are not legal

In addition, the local part may be a quoted string.

"my email addresss"@mydomain.tld

for example.

However, the last is not a good idea.  However, it is used when email  
addresses contain non-ascii characters. It's been a while since  
RFC2822 and 2821 were written, so I am not sure how prevelent quoted  
strings have become in local-parts of email addresses, I expect much  
more prevalent in non-ASCII languages, however.

I know plenty of people who get rather irate if their name is  
misspelt 'Jesus' instead of 'Jesús' and would much rather have an  
email address of "Jesús"@mydomain.tld than the simpler  
jesus(_at_)mydomain(_dot_)tld(_dot_)

-- 
Three tomatoes are walking down the street- a poppa tomato, a momma  
tomato, and a little baby tomato. Baby tomato starts lagging behind.  
Poppa tomato gets angry, goes over to the baby tomato, and smooshes  
him, "Catch up."

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail