MailScanner not using SpamAssassin

b311b-ms at b311b-ms at
Sun Oct 25 01:30:07 UTC 2015

I just installed MailScanner 4.85.2-3 with clamav 0.98.7-1.12, 
spamassassin 3.4.0-7.12 and postfix 2:2.6.6-2.15. All of this is running 
on an Amazon EC2 instance under Amazon Linux.

Mail delivery is working to the point where messages reach their 

I’ve temporarily enabled logging until I verify everything is working 
as it should. The issue is that there’s no log evidence that 
mailscanner is triggering spam assassin.

The applicable settings from MailScanner.conf are as follows:

Include Scores In SpamAssassin Report = yes
Always Include SpamAssassin Report = no
Use SpamAssassin = yes
Max SpamAssassin Size = 200k
Required SpamAssassin Score = 6
High SpamAssassin Score = 10
SpamAssassin Auto Whitelist = yes
SpamAssassin Timeout = 75
Max SpamAssassin Timeouts = 10
SpamAssassin Timeouts History = 30
Check SpamAssassin If On Spam List = yes
Include Binary Attachments In SpamAssassin = no
Cache SpamAssassin Results = yes
SpamAssassin Cache Database File = 
SpamAssassin Rule Actions =
Sender SpamAssassin Report = %report-dir%/
Log SpamAssassin Rule Actions = yes
SpamAssassin Temporary Dir = 
SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
SpamAssassin Install Prefix =
SpamAssassin Site Rules Dir = /etc/mail/spamassassin
SpamAssassin Local Rules Dir =
SpamAssassin Local State Dir = # /var/lib/spamassassin
SpamAssassin Default Rules Dir =
SQL SpamAssassin Config =
MCP Required SpamAssassin Score = 1
MCP High SpamAssassin Score = 10
MCP Max SpamAssassin Timeouts = 20
MCP Max SpamAssassin Size = 100k
MCP SpamAssassin Timeout = 10
MCP SpamAssassin Prefs File = %mcp-dir%/mcp.spam.assassin.prefs.conf
MCP SpamAssassin User State Dir =
MCP SpamAssassin Local Rules Dir = %mcp-dir%
MCP SpamAssassin Default Rules Dir = %mcp-dir%
MCP SpamAssassin Install Prefix = %mcp-dir%
SpamAssassin Cache Timings = 1800,300,10800,172800,600
Debug SpamAssassin = no

Obviously I’ve missed something, but I’m not seeing it. Can someone 
point me to other config elements I need to check?


More information about the MailScanner mailing list