Nice reload of config with sendmail

Arthur Sherman arturs at netvision.net.il
Wed Jul 12 18:14:55 IST 2006


> Ugo Bellavance wrote:
> > Hi,
> > 
> > 	What is the less disturbing way to reload the 
> MS/Sendmail config on a
> > server?
> > 
> > send a HUP to all sendmail process, then do a 
> '/etc/init.d/MailScanner
> > reload'?
> > 
> > Thanks,
> > 
> > Ugo
> 
> "init 6" usually does the trick ;)
> 
> Personally, I just HUP the MS parent[1] (which kills all the 
> kids before
> spawning a new brood of rug-rats) and "killall -HUP sendmail".  I put
> all that in a bash script and dumped it in /root/bin/mail-reload.sh
> 
> Cant reach that network ATM otherwise I'd send you a copy.
> 
> Cheers,
> 
> James

Could you post it here?
I would like to see it.

thanks


Best,

--
Arthur Sherman

+972-52-4878851
CPTeam  



More information about the MailScanner mailing list