running only local SA tests

Matt Kettler mkettler at EVI-INC.COM
Wed Jan 11 17:04:03 GMT 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Philipp Snizek wrote:
> Hi 
> 
> I have a box here that cannot access the internet directly. Thus, to
> have a higher SpamAssassin rule score I would like to have MailScanner
> run SpamAssassin with the parameter -L (local tests only). 
> 
> Alternatively, would it be possible to start spamd -L and have
> MailScanner inject mails via spamc < email?


There's no good way to do that directly, but you can get the same effect with a
few setting changes in a local.cf file:


dns_available no

And If you're using SA 3.0.x or older:
use_razor2 0
use_dcc 0	
use_pyzor 0

(With SA 3.1.0 these are all plugins, and are disabled by editing v310.pre)


Also, edit your init.pre and disable the loadplugin lines for URIBL and SPF.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list