MailScanner 5.0.2 and Ubuntu server 16.04 first attempt
patrick at yoopermail.us
Wed Jun 15 19:59:58 UTC 2016
Configured postfix and sent a test email thru. Got the following.
Searching for calmd lstat failed gives me some results about selinux and
Not sure what to do now.
Jun 15 15:45:54 efa1 MailScanner: New Batch: Scanning 1 messages,
Jun 15 15:45:54 efa1 MailScanner: Virus and Content Scanning: Starting
Jun 15 15:45:54 efa1 clamd: WARNING: lstat() failed on:
Jun 15 15:45:54 efa1 MailScanner: Clamd::ERROR:: UNKNOWN CLAMD
RETURN ./lstat() failed: Permission denied. ERROR ::
Jun 15 15:45:54 efa1 MailScanner: Virus Scanning: Clamd found 1
Jun 15 15:45:54 efa1 MailScanner: Virus Scanning: Found 1 viruses
Jun 15 15:45:54 efa1 MailScanner: Spam Checks: Starting
Jun 15 15:45:54 efa1 MailScanner: Process did not exit cleanly, returned
255 with signal 0
On 06/15/2016 03:31 PM, Patrick Goupell wrote:
> Running as root user in /tmp shows no errors. Onward I go.
> Thank you.
> On 06/15/2016 02:45 PM, Jerry Benton wrote:
>> - Pretty sure you need to run “MailScanner —lint” as the root user …
>> - Do not the command from the /root directory. Change to /tmp
>> Jerry Benton
>> +1 - 844-436-6245
>> -----Original Message-----
>> From: Patrick Goupell <patrick at yoopermail.us>
>> Reply: MailScanner Discussion <mailscanner at lists.mailscanner.info>
>> Date: June 15, 2016 at 2:35:16 PM
>> To: mailscanner at lists.mailscanner.info
>> <mailscanner at lists.mailscanner.info>
>> Subject: MailScanner 5.0.2 and Ubuntu server 16.04 first attempt
>>> This is my first attempt with both ubuntu and mailscanner.
>>> Did a clean install of ubuntu server 16.04
>>> downloaded and ran the mailscanner-5.0.2 install.sh
>>> Did a basic configuration of MailScanner.
>>> Ran MailScanner --lint
>>> Got the following errors (permissions?). User is postfix and group is
>>> mtagroup as set by the install script and configuration settings. Do I
>>> need to do anything with apparmor?
>>> patrick at efa1:/etc/apparmor.d/local$ MailScanner --lint
>>> Trying to setlogsock(unix)
>>> Can't call method "close" on an undefined value at
>>> /usr/sbin/ms-create-locks line 48.
>>> Error: Attempt to create locks in /var/spool/MailScanner/incoming/Locks
>>> Reading configuration file /etc/MailScanner/MailScanner.conf
>>> Reading configuration file /etc/MailScanner/conf.d/README
>>> Read 501 hostnames from the phishing whitelist
>>> Read 16128 hostnames from the phishing blacklists
>>> Config: calling custom init function SQLWhitelist
>>> Config: calling custom init function MailWatchLogging
>>> Config: calling custom init function SQLBlacklist
>>> Checking version numbers...
>>> Version number in MailScanner.conf (5.0.2) is correct.
>>> Your envelope_sender_header in spamassassin.conf is correct.
>>> Cannot create temporary Work Dir /var/spool/MailScanner/incoming/1343.
>>> Are the permissions and ownership of /var/spool/MailScanner/incoming
>>> correct? at /usr/share/MailScanner/perl/MailScanner/WorkArea.pm line
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
Are you free? Find out at http://www.sedm.org/
Income taxes? Find out at http://www.whatistaxed.com
More information about the MailScanner