Troy Piggins wrote:
Hi. I use the following (modified) recipe to filter list mail:
:0:
* ^TO_\/(announce|general)@lists\.example\.com
* MATCH ?? ()\/[^(_at_)]+
lists-$MATCH
To date it has been working fine. This morning someone sent a mail
to General(_at_)lists(_dot_)example(_dot_)com (capital G), so a new mbox was created
lists-General right alongside the already created lists-general
(which is where I want those mails).
Fun stuff.
MATCHSTRING='(announce|general)'
:0:
* $ ^TO_\/$MATCHSTRING(_at_)lists\(_dot_)example\(_dot_)com
* MATCH ?? ()\/[^(_at_)]+
* $ MATCHSTRING ?? ()\/$\MATCH
lists-$MATCH
____________________________________________________________
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