Mailscanner not catching SPAM but manual run via SA catches i t

Randal, Phil prandal at
Tue Nov 21 23:59:27 GMT 2006

Sometimes it pays to actually test it with debug on and see the

For my SA 3.1.7 installation,

  SpamAssassin Local State Dir = /var/lib/spamassassin

is the correct setting, not

  SpamAssassin Local State Dir = /var/lib

Tested with MailScanner --debug-sa and the debug flags set in


Phil, who's amazed he didn't notice this earlier

-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Martin
Sent: Friday, November 10, 2006 4:35 PM
To: MailScanner discussion
Subject: Re: Mailscanner not catching SPAM but manual run via SA catches

Dan Carl wrote:
> Hi all,
> I'm perplexed,
> Today I took a spam email from my inbox that got through Mailscanner
> saved it to my mail server.
> I then ran it though spamassassin(spamassassin -t test.eml) and it
caught it
> as SPAM.
> What's up with that??
> Just yesterday I upgraded to the latest version of Mailscanner (thanks
> volunteers)
> because a lot of spam was getting through. After many hours of work I
> installed the Fuzzy OCR plugin.
> Mailscanner appears to be working fine and using spamassassin.
> My maillog shows lines this:
> MailScanner[7707]: SpamAssassin cache hit for message kAAFfqxU010369
> Thanks in advance
Check the SA paths in MailScanner to make sure you're running the same 
rules - also check you've only got one perl and one SA installed.

IF you've run sa-update make sure MS knows about it by setting

SpamAssassin Local State Dir = /var/lib

Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	


MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list