<div dir="ltr">John,<div><br></div><div>Several issues here...</div><div><br></div><div>Symlink the following into your /etc/MailScanner/mcp area:</div><div><br></div><div>ln -s /etc/mail/spamassassin/v310.pre /etc/MailScanner/mcp/v310.pre</div><div>ln -s /etc/mail/spamassassin/v312.pre /etc/MailScanner/mcp/v312.pre<br></div><div>ln -s /etc/mail/spamassassin/v320.pre /etc/MailScanner/mcp/v320.pre<br></div><div>ln -s /etc/mail/spamassassin/v330.pre /etc/MailScanner/mcp/v330.pre<br></div><div><br></div><div>Check your permissions on /var/spool/postfix and make sure MailScanner can access this area</div><div><br></div><div>Net::DNS probably needs updated</div><div><br></div><div>Make sure the custom functions for MailWatch are updated and present in /usr/share/MailScanner/perl/custom</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 1:51 PM, John Barro <span dir="ltr"><<a href="mailto:john.a.barro@gmail.com" target="_blank">john.a.barro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello folks,<div><br></div><div>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.</div><div><br></div><div>The error I am receiving is: </div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">Sep 16 13:14:44 mailscanner root[26772]: MailScanner failed to start</span></div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:14:44 mailscanner root[26773]: Found a possible dead PID. Stopping all MailScanner rogue processes ...</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">I am running Debian wheezy (version 7, 64-bit) with the following:</span></p><p style="margin:0px;line-height:normal"></p><ul><li><font color="#000000" face="Menlo"><span style="font-size:11px">MailWatch 1.26</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">Postfix 2.96</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">ClamAV 0.99.2</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">SpamAssassin 3.3.2</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">PHP 5.4.55-0+deb7u11</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">MySQL 5.5.57-0+deb7u1</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">BitDefender 7.141118</span></font></li><li><font color="#000000" face="Menlo"><span style="font-size:11px">ps -ef | grep Mail</span></font></li></ul><div><font color="#000000" face="Menlo"><span style="font-size:11px">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.)</span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px">When I run MailScanner with debugging enabled, I can see the following:</span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></div><div><p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.148 [30377] dbg: config: mkdir /var/spool/postfix/.<wbr>spamassassin failed: mkdir /var/spool/postfix/.<wbr>spamassassin: Permission denied at /usr/share/perl5/Mail/<wbr>SpamAssassin.pm line 1858</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping, in "/etc/MailScanner/mcp/mcp.<wbr>spam.assassin.prefs.conf": use_dcc 0</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping, in "/etc/MailScanner/mcp/mcp.<wbr>spam.assassin.prefs.conf": use_pyzor 0</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping, in "/etc/MailScanner/mcp/mcp.<wbr>spam.assassin.prefs.conf": use_razor1 0</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping, in "/etc/MailScanner/mcp/mcp.<wbr>spam.assassin.prefs.conf": use_razor2 0</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping, in "/etc/MailScanner/mcp/mcp.<wbr>spam.assassin.prefs.conf": decode_attachments 1</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.149 [30377] dbg: config: finish parsing</span></p></div><div><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px">and</span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></div><div><p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.160 [30377] dbg: dns: Net::DNS version: 0.66</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Use of uninitialized value $filename in concatenation (.) or string at /usr/share/perl5/Mail/<wbr>SpamAssassin.pm line 1208.</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Use of uninitialized value $filename in concatenation (.) or string at /usr/share/perl5/Mail/<wbr>SpamAssassin.pm line 1210.</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Sep 16 13:48:27.160 [30377] dbg: config: read_scoreonly_config: cannot open "": No such file or directory</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Building a message batch to scan...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Have a batch of 8 messages.</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">Undefined subroutine &MailScanner::CustomConfig::<wbr>SQLWhitelist called at /usr/share/MailScanner/perl/<wbr>MailScanner/Config.pm line 170.</span></p></div><div><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px">I'm not sure where to look. Any guidance would be appreciated.</span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px">Thank you,</span></font></div><div><font color="#000000" face="Menlo"><span style="font-size:11px">John</span></font></div><p></p></div>
<br><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 x271</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"><br></div></div></div></div></div></div></div></div></div></div></div>
</div>