Improved init.d script

Julian Field MailScanner at
Tue Aug 7 17:40:55 IST 2007

Hash: SHA1

This isn't caused by the init.d script, it appears that in some 
situations it can take a long time for the MailScanner child process to 
exit. Killing the rogue child causes the script to continue normally.

Ed Bruce wrote:
> Julian Field wrote:
>> Ed Bruce wrote:
>>> Julian Field wrote:
>>>> Attached are new versions of the RedHat and SuSE /etc/init.d/MailScanner
>>>> scripts.
>>>> The improvement is obvious when you do
>>>>    /etc/init.d/MailScanner restart
>>>> or
>>>>    service MailScanner restart
>>> Works on my Redhat AS 3 (2.4.21-47.0.1.ELsmp) and 4 (2.6.9-55.ELsmp) MS
>>> servers.
>> Thanks for all the testing guys, it looks like it works everywhere it's
>> been tried (which is now quite a lot of places). It will be in the next
>> release.
>> Jules
> Well just did a another accidental test and this appears to have failed.
> I made some changes to the MS config and did a restart. This worked
> great, but I then realized I had forgot one change. I quickly made this
> and did another restart before all the child processes had started. The
> MS restart appears to have got stuck on the "Waiting for MailScanner to
> die gracefully.........................." step. I killed the restart
> followed by a a stop and then start to get MS running.


- -- 
Julian Field MEng CITP
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit

Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit

More information about the MailScanner mailing list