procmail
[Top] [All Lists]

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

2007-09-21 13:58:43
LuKreme wrote on Friday, September 21, 2007 10:35 PM:

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.

Thank you.  You saved me a bit of time by stating this.  I agree
that Michelle's summary was in error.

Dallman
____________________________________________________________
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