<div dir="ltr">John,<div><br></div><div>Not being able to see anything in MailWatch is a strong indicator that your MailWatch custom functions are not working properly.  Your mail log in /var/log on your distribution is your friend for issues like this one and may provide some clues.  For further assistance, I would encourage you to reach out to MailWatch folks on their mailing list.</div><div><br></div><div>Based on your log, SA cannot create the .spamassassin directory in /var/spool/postfix.  Although SA/MailScanner don't need write access necessarily to the /var/spool/postfix directory level, you can go ahead and create /var/spool/postfix/.spamassassin directory and make the owner/group postfix (Run As User in MailScanner.conf)</div><div><br></div><div>Other permissions to check:</div><div><br></div><div>/var/spool/postfix/incoming and /var/spool/postfix/hold  (typically owned by postfix user and the web server group in a MailWatch instance)</div><div><br></div><div>/var/spool/MailScanner/incoming and /var/spool/MailScanner/quarantine are typically owned by postfix user (Run As User in MailScanner.conf) and the mtagroup group (Incoming Work Group defined in MailScanner.conf).</div><div><br></div><div>The mtagroup is new in MailScanner v5 to help facilitate access for other services such as virus scanners, and all of your virus scanner accounts should be added as members of this group.</div><div><br></div><div>Hope this helps.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 4:19 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">Thanks for the info Shawn. Net::DNS seems to be the latest version. These files aren't symlinked, they actually exist in both folders.<div><br></div><div>I am making some progress. I can send mail outbound, but cannot receive any incoming mail. And no inbound or outbound mail displays in my MailWatch page. Not really sure where to go from here. I' not sure what the permissions should be :(</div><div><br></div><div>Thank you,</div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 2:36 PM, Shawn Iverson <span dir="ltr"><<a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</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">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/<a href="http://v310.pr">v310.pr</a><wbr>e /etc/MailScanner/mcp/v310.pre</div><div>ln -s /etc/mail/spamassassin/<a href="http://v312.pr">v312.pr</a><wbr>e /etc/MailScanner/mcp/v312.pre<br></div><div>ln -s /etc/mail/spamassassin/<a href="http://v320.pr">v320.pr</a><wbr>e /etc/MailScanner/mcp/v320.pre<br></div><div>ln -s /etc/mail/spamassassin/<a href="http://v330.pr">v330.pr</a><wbr>e /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/cu<wbr>stom</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/.spamassass<wbr>in failed: mkdir /var/spool/postfix/.spamassass<wbr>in: Permission denied at /usr/share/perl5/Mail/SpamAssa<a href="http://ssin.pm" target="_blank"><wbr>ssin.pm</a> 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.spam<wbr>.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.spam<wbr>.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.spam<wbr>.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.spam<wbr>.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.spam<wbr>.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/SpamAssa<a href="http://ssin.pm" target="_blank"><wbr>ssin.pm</a> 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/SpamAssa<a href="http://ssin.pm" target="_blank"><wbr>ssin.pm</a> 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::SQ<wbr>LWhitelist called at /usr/share/MailScanner/perl/Ma<wbr>ilScanner/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><span class="m_-465798713293790702HOEnZb"><font color="#888888">
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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></font></span></blockquote></div><span class="m_-465798713293790702HOEnZb"><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-465798713293790702m_-8353807741859958257gmail_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><a href="tel:(765)%20932-3901" value="+17659323901" target="_blank">765-932-3901 x271</a></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>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<br><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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></font></span></blockquote></div><br></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>