Wednesday, July 30, 2008

Skip Spamassassin DNS Check If Using MailScanner DNSBL Check

Skip Spamassassin DNS Check If Using MailScanner DNSBL Check

Spamhaus has the limitation for DNS queries from one host. If you are using MailScanner DNSBL Check please edit the configuration under

/etc/mail/spamassassin/local.cf

to add

# By default, SpamAssassin will run RBL checks. If your ISP already
# does this, stop RBL checks in SpamAssassin by un-commenting the
# following line

skip_rbl_checks 1


This will make sure the DNSBL queries is only used by MailScanner not by Spamassassin to scan the same email.

We also received spam from people that used Googlegroup and Yahoogroup. For temporary solution we have disabled Auto Whitelist because it produced failed positive for this type of spam.

# The --auto-whitelist and -a options for "spamd" and "spamassassin" to
# turn on the auto-whitelist have been removed and replaced by the
# "use_auto_whitelist" configuration option which is also now turned on by
# default.

use_auto_whitelist 0

Please also check the /etc/mail/spamassassin/mailscanner.cf and remark those setting so that the setting inside /etc/mail/spamassassin/local.cf will be used.

Please refer to my other blog posts

Email Spam Filtering Next Level
http://blog.harisfazillah.info/2008/07/email-spam-filtering-next-level.html

MailScanner To Used MCP
http://blog.harisfazillah.info/2008/07/mailscanner-to-used-message-content.html

No comments:

My Blog List