MailScanner fails to start - Possible Dead PID

Shawn Iverson iversons at rushville.k12.in.us
Sat Sep 16 18:36:46 UTC 2017


John,

Several issues here...

Symlink the following into your /etc/MailScanner/mcp area:

ln -s /etc/mail/spamassassin/v310.pre /etc/MailScanner/mcp/v310.pre
ln -s /etc/mail/spamassassin/v312.pre /etc/MailScanner/mcp/v312.pre
ln -s /etc/mail/spamassassin/v320.pre /etc/MailScanner/mcp/v320.pre
ln -s /etc/mail/spamassassin/v330.pre /etc/MailScanner/mcp/v330.pre

Check your permissions on /var/spool/postfix and make sure MailScanner can
access this area

Net::DNS probably needs updated

Make sure the custom functions for MailWatch are updated and present in
/usr/share/MailScanner/perl/custom


On Sat, Sep 16, 2017 at 1:51 PM, John Barro <john.a.barro at gmail.com> wrote:

> Hello folks,
>
> I'm a bit new to this list, but I was running mailscanner 4.x and have
> upgraded to the latest release 5.0.6.
>
> The error I am receiving is:
>
> Sep 16 13:14:44 mailscanner root[26772]: MailScanner failed to start
>
> Sep 16 13:14:44 mailscanner root[26773]: Found a possible dead PID.
> Stopping all MailScanner rogue processes ...
>
>
> I am running Debian wheezy (version 7, 64-bit) with the following:
>
>
>    - MailWatch 1.26
>    - Postfix 2.96
>    - ClamAV 0.99.2
>    - SpamAssassin 3.3.2
>    - PHP 5.4.55-0+deb7u11
>    - MySQL 5.5.57-0+deb7u1
>    - BitDefender 7.141118
>    - ps -ef | grep Mail
>
> In my MailWatch status page, I see the inbound mail queue with 34 entries
> and climbing. When I run tail -f /var/log/mail.log from the server, I can
> see messages coming in, virus and content scanning being done, completing
> the AV scan with clamav first, then bit defender second, starts the MCP
> check, then fails with the message above (MailScanner failed to start,
> possible dead PID, etc.)
>
> When I run MailScanner with debugging enabled, I can see the following:
>
> Sep 16 13:48:27.148 [30377] dbg: config: mkdir /var/spool/postfix/.spamassassin
> failed: mkdir /var/spool/postfix/.spamassassin: Permission denied at
> /usr/share/perl5/Mail/SpamAssassin.pm line 1858
>
> Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
> in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_dcc 0
>
> Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
> in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_pyzor 0
>
> Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
> in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor1 0
>
> Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
> in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor2 0
>
> Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
> in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf":
> decode_attachments 1
>
> Sep 16 13:48:27.149 [30377] dbg: config: finish parsing
>
> and
>
> Sep 16 13:48:27.160 [30377] dbg: dns: Net::DNS version: 0.66
>
> Use of uninitialized value $filename in concatenation (.) or string at
> /usr/share/perl5/Mail/SpamAssassin.pm line 1208.
>
> Use of uninitialized value $filename in concatenation (.) or string at
> /usr/share/perl5/Mail/SpamAssassin.pm line 1210.
>
> Sep 16 13:48:27.160 [30377] dbg: config: read_scoreonly_config: cannot
> open "": No such file or directory
>
> Building a message batch to scan...
>
> Have a batch of 8 messages.
>
> Undefined subroutine &MailScanner::CustomConfig::SQLWhitelist called at
> /usr/share/MailScanner/perl/MailScanner/Config.pm line 170.
>
> I'm not sure where to look. Any guidance would be appreciated.
>
> Thank you,
> John
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
>


-- 
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 x271
iversons at rushville.k12.in.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170916/9d833b34/attachment.html>


More information about the MailScanner mailing list