datasavant
04-28-2004, 08:21 PM
Something I have found to be very helpful with spamassassin is to add the score to the header rewrite by using the _HITS_ keyword. My rewrite message is: ***SPAM _HITS_***. This allows me to sort the spams by subject so that the likely mismarked messages are always at the top. By the time I get to a score of 6.0 or more, they are all definitely spam.
You can also use this with procmail to only delete spam with a certain score. For example, I delete everything that is 10 or higher and route everything else to another account that I only download a few times each day. This really cuts down on the spam traffic. Here is the procmailrc setting:
###>>>>>> route marked spam with score of less than 10 to spam account
:0
* ^Subject: \*\*\*SPAM 0
/var/mail/spam
###
###>>>>>> delete the rest that are 10 or above
:0
* ^Subject: \*\*\*SPAM
/dev/null
###^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can also use this with procmail to only delete spam with a certain score. For example, I delete everything that is 10 or higher and route everything else to another account that I only download a few times each day. This really cuts down on the spam traffic. Here is the procmailrc setting:
###>>>>>> route marked spam with score of less than 10 to spam account
:0
* ^Subject: \*\*\*SPAM 0
/var/mail/spam
###
###>>>>>> delete the rest that are 10 or above
:0
* ^Subject: \*\*\*SPAM
/dev/null
###^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^