<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">remove your spam rule.</div><div class=""><br class=""></div>service MailScanner stop<div class="">killall -r MailScanner<br class=""><div class="">rm -f /var/run/MailScanner.pid<br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">service MailScanner start</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Jerry Benton</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.mailborder.com" class="">www.mailborder.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 5, 2016, at 3:09 PM, Gao <<a href="mailto:gao@pztop.com" class="">gao@pztop.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
My system is CentOS 7 64bit and running MailScanner 4.85.2<br class="">
<br class="">
I just add a spam rule in /etc/MailScanner/spam.assassin.prefs.conf
and then I try to restart MailScanner, but I don't see MailScanner
restarted as normal as before. The postfix won't stop and everything
just kept going. Of course the new rule I added does not work.<br class="">
<br class="">
Tried few times and now I see these lines in /var/log/messages when
I issue "systemctl restart MailScanner":<br class="">
<br class="">
<font face="Courier New, Courier, monospace" class="">May 5 11:59:31 zeta
systemd: Starting SYSV: MailScanner is an open-source E-Mail
Gateway Virus Scanner....<br class="">
May 5 11:59:31 zeta MailScanner: /etc/rc.d/init.d/MailScanner:
line 78: [: =: unary operator expected<br class="">
May 5 11:59:31 zeta MailScanner: Starting MailScanner daemons:<br class="">
May 5 11:59:31 zeta MailScanner: incoming postfix: [ OK ]<br class="">
May 5 11:59:31 zeta MailScanner: outgoing postfix: [ OK ]<br class="">
May 5 11:59:31 zeta MailScanner: MailScanner: [ OK ]<br class="">
May 5 11:59:31 zeta systemd: Failed to read PID from file
/var/run/MailScanner.pid: Invalid argument</font><br class="">
<br class="">
I looked the init script at line 78:<br class="">
<font face="Courier New, Courier, monospace" class="">77 # Check that
networking is up.<br class="">
78 [ ${NETWORKING} = "no" ] && exit 0</font><br class="">
<br class="">
Not sure what happens here. I didn't change the
/etc/init.d/MailScanner file.<br class="">
<br class="">
Please help.<br class="">
<br class="">
Gao<br class="">
<br class="">
</div>
<br class=""><br class="">-- <br class="">MailScanner mailing list<br class=""><a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a><br class="">http://lists.mailscanner.info/listinfo/mailscanner<br class=""><br class=""></div></blockquote></div><br class=""></div></div></body></html>