PDA

View Full Version : Procmail Delivery Problem


sjmo2
31st March 2006, 19:44
I am running Postfix-Procmail-Spamassassin on a Mandrake 2005 server. My procmail re-direct and filter for Spamassassin works fine, but in addition we have a Spam filter built into our main Firewall which appends suspcious e-mails with [SPAM+] in the subject. I have tried writing a filter to catch these and deliver to a specific SPAM folder but it is sending all e-mails there. Any ideas?

Procmail filter:
:0:
* ^subject:.*[SPAM+]
dir/SPAM

Thanks

falko
1st April 2006, 13:43
Please try this:

:0:
* ^Subject:[SPAM+]
dir/SPAM
Also have a look here: http://www.howtoforge.com/procmail_tips_recipes