MailScanner not invoking spamassassin

Martin Hepworth maxsec at gmail.com
Thu Oct 28 20:13:28 IST 2010


to make sure Mailscanner is verbose in the mail headers make sure the
following config lines in MailScanner.conf are as follows.


Spam Score Number Format = %5.2f

Detailed Spam Report = yes

Include Scores In SpamAssassin Report = yes

Always Include SpamAssassin Report = yes

Spam Score Number Format = %5.2f


Mailscanner will also log quite a bit to maillog so also check there, and I
presume you'll lint checked mailScanner and also run it in debug mode and
checked for any errors?

http://wiki.mailscanner.info/doku.php?id=documentation:test_troubleshoot:mailscanner

http://wiki.mailscanner.info/doku.php?id=documentation:test_troubleshoot:performance&s=lint



-- 
Martin Hepworth
Oxford, UK


On 28 October 2010 19:40, Johnson, SE <sjohnson at edina.k12.mn.us> wrote:

> 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20101028/c5df0bed/attachment.html


More information about the MailScanner mailing list