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:
|
|