MailScanner not invoking spamassassin

Alex Neuman alex at rtpty.com
Thu Oct 28 19:59:35 IST 2010


Just typing the name three times doesn't mean it'll block it right away. Have you looked at how spamassassin uses scores? How does the message itself score? You need to read up a bit more on how SA works to tell. 
-- 
Alex Neuman van der Hans
Reliant Technologies
+507 6781-9505
+507 832-6725
+1-440-253-9789 (USA)

Recuerda visitar http://vidadigital.com.pa/ 

BB PIN 20EA17C5
Twitter: @AlexNeuman - @VidaDigitalTV
http://facebook.com/vidadigital
Skype: alexneuman

-----Original Message-----
From: "Johnson, SE" <sjohnson at edina.k12.mn.us>
Sender: mailscanner-bounces at lists.mailscanner.info
Date: Thu, 28 Oct 2010 13:40:33 
To: <mailscanner at lists.mailscanner.info>
Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Subject: MailScanner not invoking spamassassin

Well, not invoking may be the wrong term here but...

I have a current mail server (postfix/amavisd/MailScanner/ClamAV) that I
installed about 4 years ago that I'm moving to a new box and dropping
amavisd out of the mix as it appears to be redundant.

The install is Fedora Core 13 along with the clam, postfix, MailScanner,
and Spamassassin RPMS. THe configuration is set up to except, scan and
forward the email through to my mail server.  This is tested and all
works.  Use Spamassassin is turned on in the MailScanner.conf file.

So I decided to test the filtering to make sure that was working.

To test, I telnetted to port 25 and in the data field I type the name of
the tiny blue pill "v****a" three times then sent the message on.  

I was expecting this message to get denied but to my amazement it was
forwarded through to my internal mail server.

In checking the logs I didn't see any reference to Spamassassin.

I turned on the debug logging in MailScanner and tried the same test
again.  This time I did see one message
"SpamAssassin cache hit for message ..." which I assume it was because
the two messages were identical.

I went through the spam.assassin.prefs.conf file and made sure all the
directories referenced did exist and had the expected files in them.

I assume that since I saw that line that at least part of spamassassin
is being called.  Question is, why is it not checking content?  Oh.  In
amavisd, the spamassassin tests that were applied to an incoming message
were logged in the maillog; I do not see any log entries of this type so
I'm thinking that the content checks are not being run.

Any ideas on what I can check or how I can troubleshoot this further?

Thanks
  Scott


--
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