On Wed, 2003-07-16 at 08:29, Abigail Marshall wrote: > SWO> I want a recipe for /etc/procmailrc which conditionally runs a message > SWO> through spamc *only* if it hasn't already been processed by SA. I want to > SWO> use the X-Spam-Status and/or the X-Spam-Flag headers. > > OK, try this: > > > :0fw > * < 256000 > * ! ^X-Spam-Status: > | spamc > > (The exclamation point (!) means "not" and the asterisk (*) > essentially means "and", so you can exclude > anything you want by putting an additional line beginning > with * ! and then containing the text that you don't want > filtered. ) > > -Abigail >
That will work, but if everyone starts doing it then spammers will start forging X-Spam-Status lines into their spam. The idea is good but that implementation is trivially defeated. To make it a little more spammer-resistant I would add version_tag something to local.cf and adjust the procmail recipe to filter for that. version_tag 2468xyz. :0fw * < 256000 * ! ^X-Spam-Status: .*2468xyz | spamc better safe than sorry :) -- Yorkshire Dave -- Scanned by MailScanner at wot.no-ip.com ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk