Great Circle Associates Majordomo-Users
(February 2003)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: What is the best way to shut down and restart sendmail
From: Deb <deb @ tickleme . llnl . gov>
Organization: (LLNL)
Date: Fri, 7 Feb 2003 13:42:13 -0800
To: Lorin Lund <wbs @ infowest . com>
Cc: Majordomo-Users <Majordomo-Users @ greatcircle . com>
In-reply-to: <3E4422D2.2000908@infowest.com>
References: <3E4422D2.2000908@infowest.com>
User-agent: Mutt/1.4i

Maybe I missed an earlier post, but you didn't say what version of sendmail or
the platform that it is running on.

Sun's usually come with a script in /etc/init.d/

   sendmail start | stop

A look at the script shows 

   /usr/bin/pkill -x -u 0 sendmail

to stop sendmail.  

Some sendmail's can be sent a HUP to re-read the config, but I'm not sure that
is supported in the newer versions.

FWIW, I wouldn't agonize over killing the sendmail processes and restarting
them.  It is smart enough to clean up and and restart where it left off.



Lorin Lund <wbs@infowest.com> had this to say,
> After updating aliases, after running newaliases, I still need to shut 
> sendmail down and
> restart it.  Is there a 'polite' way to do that?  Or is there a way to 
> signal sendmail to reload
> the aliases?
> 
> When I look at my 'ps' output it looks like there are two instances of 
> sendmail running.
> One says 'accepting connections'
> The other says 'queue runner' (among other things).
> Do they both need to be shut down to have the alias changes take effect?
> 
> 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          There are 010 types of people in the world:
       those who understand binary, and those who don't.
τΏτ   111,111,111 x 111,111,111 = 12,345,678,987,654,321 (decimal)
 ~ 








References:
Indexed By Date Previous: What is the best way to shut down and restart sendmail
From: Lorin Lund <wbs@infowest.com>
Next: Re: What is the best way to shut down and restart sendmail
From: "Doug Young" <dougy@brizzie.org>
Indexed By Thread Previous: What is the best way to shut down and restart sendmail
From: Lorin Lund <wbs@infowest.com>
Next: Re: What is the best way to shut down and restart sendmail
From: "Doug Young" <dougy@brizzie.org>

Google
 
Search Internet Search www.greatcircle.com