<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
My system is CentOS 7 64bit and running MailScanner 4.85.2<br>
<br>
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>
<br>
Tried few times and now I see these lines in /var/log/messages when
I issue "systemctl restart MailScanner":<br>
<br>
<font face="Courier New, Courier, monospace">May 5 11:59:31 zeta
systemd: Starting SYSV: MailScanner is an open-source E-Mail
Gateway Virus Scanner....<br>
May 5 11:59:31 zeta MailScanner: /etc/rc.d/init.d/MailScanner:
line 78: [: =: unary operator expected<br>
May 5 11:59:31 zeta MailScanner: Starting MailScanner daemons:<br>
May 5 11:59:31 zeta MailScanner: incoming postfix: [ OK ]<br>
May 5 11:59:31 zeta MailScanner: outgoing postfix: [ OK ]<br>
May 5 11:59:31 zeta MailScanner: MailScanner: [ OK ]<br>
May 5 11:59:31 zeta systemd: Failed to read PID from file
/var/run/MailScanner.pid: Invalid argument</font><br>
<br>
I looked the init script at line 78:<br>
<font face="Courier New, Courier, monospace">77 # Check that
networking is up.<br>
78 [ ${NETWORKING} = "no" ] && exit 0</font><br>
<br>
Not sure what happens here. I didn't change the
/etc/init.d/MailScanner file.<br>
<br>
Please help.<br>
<br>
Gao<br>
<br>
</body>
</html>