Korhan GURLER <korhan(_at_)netkeyfi(_dot_)com> wrote:
:0:
*(^To|^Cc:)*(_dot_)FOCUS-LINUX(_at_)SECURITYFOCUS(_dot_)COM
| formail >> FOCUS-LINUX.list
:0:
*(^To|^Cc:)*(_dot_)BUGTRAQ(_at_)SECURITYFOCUS(_dot_)COM
| formail >> BUGTRAQ.list
But if someone posts a message in both FOCUS-LINUX and Bugtraq
this filter makes the duplicate mail in FOCUS-LINUX.list file but not
in bugtraq.list file.
I'm no procmail-expert, but I believe that
:0c:
*^(To|Cc):*(_dot_)FOCUS-LINUX(_at_)SECURITYFOCUS\(_dot_)COM
FOCUS-LINUX.list
:0:
*^(To|Cc):*(_dot_)BUGTRAQ(_at_)SECURITYFOCUS\(_dot_)COM
BUGTRAQ.list
should do the trick.
The "c" in the first filter tells procmail to continue after processing
this directive. I changed the "| formail >>", as I'm not sure of the
advantage; I might be wrong.
-Jan
--
Jan Schaumann
http://www.netmeister.org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail