Jeremy McSpadden jeremy at
Mon Feb 1 05:00:22 UTC 2016

I tested on a clean ubuntu 14 install. Couldn’t reproduce this. What distro are you testing on ?

I had errors on mqueue.

Could not read directory /var/spool/mqueue at /usr/share/MailScanner/perl/MailScanner/ line 2874.
Error in configuration file line 181, directory /var/spool/mqueue for outqueuedir does not exist (or is not readable) at /usr/share/MailScanner/perl/MailScanner/ line 3238.
File containing list of incoming queue dirs (/var/spool/mqueue) does not exist at /usr/share/MailScanner/perl/MailScanner/ line 1819.

Can't use string ("/var/spool/") as an ARRAY ref while "strict refs" in use at /usr/sbin/MailScanner line 537.

Make sure you install SA.
Change your MailScanner.conf :

MTA = postfix
Incoming Work Dir = /var/spool/MailScanner/incoming
Outgoing Queue Dir = /var/spool/MailScanner/hold

Jeremy McSpadden
Flux Labs, Inc | | Endless Solutions

On Jan 31, 2016, at 8:29 PM, Jerry Benton <jerry.benton at<mailto:jerry.benton at>> wrote:

If someone could help me figure this out please …

Ok, the MailScanner package works fine, but it bitches when running “MailScanner —lint”

Sometimes it works, and sometimes it doesn’t. Specifically, the error below. Note that everything is installed correctly and the files exist with the right permissions. This is with a Postfix install. I have not seen the error on a sendmail install.

You want to use SpamAssassin but have not installed it. at /usr/share/MailScanner/perl/MailScanner/ line 177.
I will run without SpamAssassin for now, you will not detect much spam until you install SpamAssassin. at /usr/share/MailScanner/perl/MailScanner/ line 178.
WARNING: You are trying to use the Processing Attempts Database but your DBI and/or DBD::SQLite Perl modules are not properly installed! at /usr/sbin/MailScanner line 1753.
ERROR: Could not connect to SQLite database /var/spool/MailScanner/incoming/Processing.db, either I cannot write to that location or your SQLite installation is screwed. at /usr/sbin/MailScanner line 1764.

Jerry Benton

MailScanner mailing list
mailscanner at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list