MailScanner not using SpamAssassin
b311b-ms at theotherbell.com
Sun Oct 25 16:19:30 UTC 2015
Thanks for the quick response.
Here’s the output:
Trying to setlogsock(unix)
Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README
Read 467 hostnames from the phishing whitelist
Read 10954 hostnames from the phishing blacklists
Checking version numbers...
Version number in MailScanner.conf (4.85.2) is correct.
Your envelope_sender_header in spam.assassin.prefs.conf is correct.
MailScanner setting GID to (89)
MailScanner setting UID to (89)
Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
I have found clamd scanners installed, and will use them all by default.
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 0 messages in the Processing Attempts Database
Using locktype = posix
MailScanner.conf says "Virus Scanners = auto"
Found these virus scanners installed: clamd
Filename Checks: Windows/DOS Executable (1 eicar.com)
Other Checks: Found 1 problems
Virus and Content Scanning: Starting
Clamd::INFECTED::Eicar-Test-Signature :: ./1/
Clamd::INFECTED:: Eicar-Test-Signature :: ./1/eicar.com
Virus Scanning: Clamd found 2 infections
Infected message 1 came from 10.1.1.1
Virus Scanning: Found 2 viruses
Virus Scanner test reports:
Clamd said "eicar.com was infected: Eicar-Test-Signature"
If any of your virus scanners (clamd)
are not listed there, you should check that they are installed correctly
and that MailScanner is finding them correctly via its
It says “found 1 problem”, but there’s no indication of what that
problem is. Keep in mind that this output looks normal to me, but
probably don’t know what normal looks like because I haven’t seen it
I checked /var/log/maillog and /var/log/messages and I’m not seeing
On 25 Oct 2015, at 4:16, Jerry Benton wrote:
> MailScanner --Lint
> Jerry Benton
>> On Oct 24, 2015, at 9:30 PM, b311b-ms at theotherbell.com wrote:
>> 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%/sender.spam.sa.report.txt
>> 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?
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner