procmail
[Top] [All Lists]

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

2004-11-26 16:04:16

If you check 'man procmailex', you'll see that NONE of the examples
employing ^TO specify a domain portion.  If *YOU* anchor it to the RHS of
the address, then the plussed portion is of course going to get ignored -
after all, you're the one providing a regexp that doesn't account for
plussing.  The idea is that you should be specifying the LOCAL part of the
username only:

* ^TO_weenie

would match:

         weenie(_at_)somedomain(_dot_)tld
         weenie+private(_at_)otherdomain(_dot_)tld
         weenie+lists(_at_)otherdomain(_dot_)tld

but the documentation says that ^TO_ should catch all destination
specifications
containing a specific *address*.

it does not say that it should also catch an address that contains a
specific word precered by a + .

for doing that, there is the ^TO macro.

-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

<Prev in Thread] Current Thread [Next in Thread>