enhanced /etc/init.d/MailScanner for SuSE rpm

Knutzen, Heinz (DZ-SH) Heinz.Knutzen at DZSH.DE
Mon Jul 7 12:01:27 IST 2003


I successfully use MailScanner-4.22-5.suse.tar.gz
on a system running SuSE 8.2.
There is a small problem with the 
"reload" option of the
/etc/init.d/MailScanner script:

Currently it calls
        killproc -p $mspid -HUP /usr/sbin/MailScanner
This sends a HUP to the parent process which is silently ignored,
i.e. "reload" currently does NOTHING.

This should be changed to send HUP signals to all children:
        killproc -G -p $mspid -HUP /usr/sbin/MailScanner

>From 'man killproc':
-G     Sends the signal to all session  followers  (children)  of the identified process.

Viele Grüße

-- Heinz




More information about the MailScanner mailing list