Once You Know, You Newegg
Home FAQ SpamAssassin Optimizing qmail/SpamAssassin to catch more Spams
Optimizing qmail/SpamAssassin to catch more Spams PDF Print E-mail
Sunday, 12 April 2009 01:50

Updated 2/9/10: Updated links so they work correctly.

When you first install SpamAssassin from either source, rpm or Ports, The default setup for SpamAssassin still allows a lot of spams to still get through. The following are a few recommended things to use to help SpamAssassin filter more spams out for you.

If you happen to get a lot of spams to invalid users, I would highly suggest taking a look at john Simpsons validrcptto patch. This is included with his combined patch as well. If you use his patch, you will also need to replace the original qmail-smtpd/run script with Johns as it breaks smtp-auth. Take a look at the following URLs

http://qmail.jms1.net/patches/
http://qmail.jms1.net/scripts/

If you would like to enable jgreylist, follow this website:

http://qmail.jms1.net/scripts/jgreylist.shtml

The next thing I would recommend is to enable the Bayes Database. Take a look at:

http://www.goodcleanemail.com/index.php?option=com_content&view=article&id=94:how-to-enable-bayes-autolearning-&catid=37:spamassassin&Itemid=41

I would suggest adding rules to SpamAssassin to mark up messages better. The only thing I have found about some of these rules is that when you run spamassassin --lint, You do get some errors from time to time.

http://www.goodcleanemail.com/index.php?option=com_content&view=article&id=91:how-to-add-rules-to-spamassassin&catid=37:spamassassin&Itemid=41

You can also enable razor/pryzor here:

http://www.goodcleanemail.com/index.php?option=com_content&view=article&id=85:installing-and-configuring-razor-and-pryzor-&catid=37:spamassassin&Itemid=41

Another good thing to use is SpamAssassin Auto-Learning with Site-Wide Bayes and User Feedback. This will allow your users to send spams or hams via forwarding as an attachment to report them to bayes as ham or spams.

http://www.goodcleanemail.com/index.php?option=com_content&view=article&id=92:spamassassin-auto-learning-with-site-wide-bayes-and-user-feedback-&catid=37:spamassassin&Itemid=41

If you implemented the site-wide bayes with feeedback, adding the Squirrelmail spam or ham reporting option makes reporting via Squirrelmail really simplistic.

http://www.goodcleanemail.com/index.php?option=com_content&view=article&id=99:setting-up-spam-and-ham-buttons-for-squirrelmail-&catid=40:webmail&Itemid=41

There are some new spams going around that are gifs. Here is a link on how to get rid of those types of spams:

http://www.goodcleanemail.com/index.php?option=com_content&view=article&id=90:fuzzyocr-walkthrough-&catid=37:spamassassin&Itemid=41

Last Updated on Tuesday, 09 February 2010 11:30