Minor bug in init script

Joseph Watson jtwatson at linux-consulting.us
Sun Sep 21 21:34:09 IST 2008


Hello,

There has been a minor bug in the init script for a while now.

This does not cause any problems, it is just a reporting issue.

I use Postfix configured as a single instance (hold queue method), and when I 
start MailScanner I get the following output.

[root at MailServ MailScanner]# /etc/init.d/MailScanner start
Starting MailScanner daemons:
         incoming postfix:                                      [  OK  ]
         outgoing postfix:                                      [  OK  ]
         MailScanner:                                           [  OK  ]

If I make the following change to the init script

diff -w /etc/init.d/MailScanner /etc/init.d/MailScanner.mod
103c103
<         if test -x $POSTFIX ; then
---
>         if test -x $POSTFIXINCF ; then

when I start MailScanner:

[root at MailServ MailScanner]# /etc/init.d/MailScanner start
Starting MailScanner daemons:
         incoming postfix:                                      [  OK  ]
Assuming you are using a single Postfix instance (hold queue method)
         outgoing postfix:                                      [  OK  ]
         MailScanner:                                           [  OK  ]

Again this is quite a minor issue, but It is nice to see this reminder.

-- 
Regards
Joseph Watson



More information about the MailScanner mailing list