procmail
[Top] [All Lists]

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

2004-11-25 20:34:42
Then ^TO_ should use something like:

[^-a-zA-Z0-9_.+'=]

Also, in the same category, i noticed that the ^FROM_DAEMON macro is very
dangerous, as it catches email with sender's name (not just email address)
containing the word "system".

It caught a mail with the (questionable) header line:

From: "ACCA Recording Products" <acca(_at_)accaproducts(_dot_)com>(through 
Yahoo! Store
Order System)

(this was a confirmation of an on-line order with a yahoo-associate store).

Not sur why this was caught by ^FROM_DAEMON, but that's definitely another
problem with a macro reg-exp...

-t

----- Original Message ----- 
From: "David W. Tamkin" <dattier(_at_)panix(_dot_)com>
To: <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Thursday, November 25, 2004 7:06 PM
Subject: Re: bug in ^TO_ macro: character '+' *is* allowed in emails


Tristan Savatier wrote:

I have never seen emails with !#$%&'*/=?^`{}|~

I've seen apostrophes in the addresses of the FiratName.LastName form,
and I've seen equal signs in VERPs.  Of course, exclamation points and
percentage signs were addressing elements at one time, so you wouldn't
expect them, even if quoted.

____________________________________________________________
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



____________________________________________________________
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