procmail
[Top] [All Lists]

Re: update your rules for spamassassin 3.0 - hits is now score

2004-09-23 13:07:22
Just a heads up to anyone else that uses Spamassassin, if like me you've 
been using a procmail rule like this to filter your mail after running 
through Spamassassin:

:0
* ^X-Spam-Status: .*, hits=([7-9]\.|[0-9][0-9])
{ assorted actions I won't go into here }

Note that SA now appears to use score= instead of hits, so the above 
will need to be:

:0
* ^X-Spam-Status: .*, score=([7-9]\.|[0-9][0-9])
{ actions }

I use the following which doesn't rely on the Status line:

# Remove definite spam
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*
/dev/null

# Copy spam to a file to make sure we don't have false positives
:0
* ^X-Spam-Flag: YES
spam

Just another way to do it.

                                                Adam
--
Adam Stein @ Xerox Corporation       Email: 
adam(_at_)scan(_dot_)mc(_dot_)xerox(_dot_)com
                                            
Disclaimer: All views expressed             
here have been proved to be my own.  [http://www.csh.rit.edu/~adam/]


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>