out of curiosity: reload and restart

Julian Field MailScanner at ecs.soton.ac.uk
Thu Nov 2 18:36:23 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Sven De Troch wrote:
> Hello,
>
> no problem, but something I'd like to know ;)
>
> Are there any reasons to restart MS with /etc/init.d/MailScanner
> restart (and not reload to read the configfiles again)?
>
> i.e. if I change my sendmail access file, recompile it for sendmail
> and 'reload' MS, eveything is working fine, ..., so I wonder in which
> case a reload is not sufficient for MailScanner and a restart is
> needed (I'm not talking about Linux in general, but for MS specific)?
>   
One situation where you definitely need to restart is when you change 
the spam.assassin.prefs.conf or change the rules/settings you have in 
any other SpamAssassin *.cf or init.pre files (and its brethren of 
course). This is because it needs to recompile all the SpamAssassin 
rules, which can't be done without a MailScanner restart.

There was also a bug in versions of MailScanner prior to 4.55.9 in which 
a reload would not have all the intended effects, so I would use restart 
if your MailScanner is older than 4.55.9 1st August 2006.

Also, on a connected subject, I am going to speed up the re-spawning of 
the child processes as 11 seconds per child appears to be too long on 
systems with large numbers of child processes. 5 seconds should work 
okay, you won't get any overlap of timings until you have launched 12 
children, so in reality this should not cause any harm.

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

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 www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: ISO-8859-1

wj8DBQFFSju/EfZZRxQVtlQRAtISAKCxgIXkwXGQ+QSG8C1jaYa5jUeISwCeJPL5
mgWEr/5Jrv3Uo6KOXna6BEc=
=ax3W
-----END PGP SIGNATURE-----

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



More information about the MailScanner mailing list