SUMMARY: restart sendmail problem

From: Kun Li (likun@bjaimail.asiainfo.com)
Date: Sat Jun 06 1998 - 19:17:11 CDT


The answer is :

1. /etc/init.d/sendmail stop
    /etc/init.d/sendmail start

2. kill `head -1 /etc/mail/sendmail.pid`
    sh -c "`tail -1 /etc/mail/sendmail.pid`"

but most of you favors solution 1.

and someone said that the solution 2 doesn't work reliably, sometime it
will
not do what you want to do.

So I select solution 1.

the response is too much , that i can't list them all.
so thank all advices and their sponsor.

Here i s the origin question:
>dear gurus, I had checked all of my docs, and can't find a way
>to restart the sendmail with new sendmail.cf while not
>stop the mail serices.
>
>for example , one of my mail server has 300 or even more sendmail
>processes , and today i changed the sendmail.cf configuration file,
>and i don't know how to announce all of these process that a new
>configuration file should be reloaded .
>
>so any advises ? will summarize.
>
>thank you.
>
>likun@bjai.asiainfo.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=
my->name = "likun";
my->email[0] = "likun@bjaimail.asiainfo.com";
my->email[1] = "likun@bjai.asiainfo.com";
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:41 CDT