Permissions

Jeremy McSpadden jeremy at fluxlabs.net
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/Config.pm 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/Config.pm line 3238.
File containing list of incoming queue dirs (/var/spool/mqueue) does not exist at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1819.

Can't use string ("/var/spool/mqueue.in") 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 | http://www.fluxlabs.net | Endless Solutions


On Jan 31, 2016, at 8:29 PM, Jerry Benton <jerry.benton at mailborder.com<mailto:jerry.benton at mailborder.com>> 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/SA.pm 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/SA.pm 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.


https://s3.amazonaws.com/msv4/deb/MailScanner-4.86.1-3.deb.tar.gz



-
Jerry Benton
www.mailborder.com





--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160201/8360c4a7/attachment.html>


More information about the MailScanner mailing list