mailscanner not calling spamassassin?

Ugo Bellavance ugob at CAMO-ROUTE.COM
Tue Nov 23 18:15:25 GMT 2004

    [ 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. ]

Brendan Cody-Kenny wrote:
> Hello all,
> I have been having some very annoying trouble lately with mailscanner
> using spamassassin. As far as I have looked (which is pretty far) I have
> correct settings for mailscanner and spamassassin. (spamassassin 2.64
> and mailscanner 4.35.11)
> The problem is that mailscanner does not appear to be calling
> spamassassin properly but is not generating any logs to indicate the
> problem. I thought mailscanner was calling spamassassin and it was
> returning 0 everytime but it turned out that "Always Include
> SpamAssassin Report = yes" was giving every message a score of 0. After
> changing this it appears that mailscanner is not running spamassassin at
> all. I used strace on mailscanner and sifted though the results but
> could not find anything conclusinve. A test of spamassassin from the
> command line on a message returns a reasonable result (other than 0) for
> a message but mailscanner is not doing this. I have included
> Mailscanner.conf and spam.assassin.prefs.conf. Can anyone help? I hope
> it is something really simple that I have misssed but I have been
> looking at it for so long now that its invisible to me.

What do you have in the headers?

What do you get when you run MailScanner in debug with "Debut
SpamaAssasin = yes"


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list