perfomance troubles

Matt Kettler mkettler at EVI-INC.COM
Thu Oct 23 23:43:27 IST 2003

At 06:05 PM 10/23/2003, Rainer Anschober wrote:
>Where can i deactivate the external spam list?
>What must i consider too in order to increase the speed of the system?

You're worrying about a single DNS blacklist check per message? wow...

Consider that by default if the Net::DNS perl module is installed on your
system SpamAssassin will check every IP address in the message headers
against about two dozen DNS RBLs for every message.

Since you're using 2.55, your speed problems are likely caused by the ORBS
check. This RBL is dead, and has been removed from 2.60.

You can disable ORBS checks by forcing it's score to zero in
spam.assassin.prefs.conf, or /etc/mail/spamassassin/
         score   RCVD_IN_ORBS            0

If absolute speed is a must, you can turn them all off with this command:

         skip_rbl_checks 1
You can also consider having spamassassin use only some of the RBLs by
forcing the score of the RBL checks you don't want to be 0. as was done to
ORBS above.

I don't have a copy of 2.55 handy, but In 2.60 there are 35 DNS blacklist
checks, 7 of which are disabled, and some of which are actually sub-tests
of a single blacklist (ie: only one DNS lookup is done for 6 of the
RCVD_IN_NJBL* tests. The firsthop NJBL dialup test might use a second lookup.)

In 2.60 all of the DNS tests are named starting with RCVD_IN_, with the
exception of DNS_FROM_RFCI_DSN and HABEAS_VIOLATOR. YMMV on 2.55.

More information about the MailScanner mailing list