spam filtering

Alexander Mamchenkov alex at leonid.maks.net
Mon Jan 16 12:19:18 UTC 2006


Hi,

I am not using Postfix, but Exim instead and Exim uses spamassassin to 
find spam and add the X-Spam-Status header. As well as bounce all mail 
with more than 10 spam points. So I can not tell you the exact way of 
doing things with Postfix.

On the other hand, if postfix can process ~/.forward files, you can put 
"|/usr/bin/procmail" (in my case, may vary) for invoking procmail and 
then in ~/.procmailrc add a something like to discard mail:

:0
*X-Spam-Status:.YES
/dev/null

or to move it to spam folder:

:0
*X-Spam-Status:.YES
Spam_folder

You might also want to check google.com for more info and examples.

> hi, I was using postfix and was wondering what the best method would be 
> to discard all messages that have been marked as spam in the subject 
> line.  I guess spamassassin just prosesses email, but doesnt remove 
> them, has anyone setup procmail with postfix to work well?

-- 
Best Regards,
	Alexander Mamchenkov,
	http://alex.mamtchenkov.net/




More information about the fedora-list mailing list