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

Randal, Phil prandal at herefordshire.gov.uk
Tue Nov 21 23:59:27 GMT 2006


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

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
MailScanner.conf.

Cheers,

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

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

Dan Carl wrote:
> Hi all,
> 
> I'm perplexed,
> Today I took a spam email from my inbox that got through Mailscanner
and
> 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
also
> 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 lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list