procmail
[Top] [All Lists]

bug in ^TO_ macro: character '+' *is* allowed in emails

2004-11-25 19:40:49
Hi,

The ^TO_ macro assumes that the '+ sign is not allowed in email addresses,
but + is allowed in email addresses! (i.e. love+hugs(_at_)foo(_dot_)com is 
legal).

Therefore the part [^-a-zA-Z0-9_.] in the ^TO_ macro should be replace by
[^-a-zA-Z0-9_.+]

this way, ^TO_hugs(_at_)foo(_dot_)com would not match on:
To: love+hugs(_at_)foo(_dot_)com

(currently it does match, and that's a bug).

-t


____________________________________________________________
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