From: Andrzej Adam Filip on
RICCARDO <ric.castellani(a)alice.it> wrote:
> I migrated from Fedora Core 1 + Sendmail 8.12.10 to Debian Sarge +
> sendmail 8.14.3-5 and I usually send "killall -HUP sendmail" to permit
> sendmail to read again configuration file (e.g. /etc/mail/access).
> Now I get this error:
>
> sendmail: no process killed
>
> Why it doesn't work now for this new o.s. (Debian Sarge) ?!

0) Why do you use Debian-Sarge (3.1)?
The current stable release is Debian-Lenny (5.0).

1) If "killall -HUP sendmail" produces "sendmail: no process killed"
then most likely
1a) no sendmail process been running
1b) you have not issued killall as root

2) On (modern) *debian* you can use
2a) "/etc/init.d/sendmail reload" to make sendmail daemon reared sendmail.cf
2b) "/etc/init.d/sendmail status" to know if sendmail daemons are running

--
[pl>en Andrew] Andrzej Adam Filip : anfi(a)onet.eu : Andrzej.Filip(a)gmail.com
Never appeal to a man's "better nature". He may not have one.
Invoking his self-interest gives you more leverage.
-- Lazarus Long
From: RICCARDO on
On 10 Feb, 10:08, Andrzej Adam Filip <a...(a)onet.eu> wrote:
> RICCARDO <ric.castell...(a)alice.it> wrote:
> > I migrated from Fedora Core 1 + Sendmail 8.12.10 to Debian Sarge +
> > sendmail 8.14.3-5 and I usually send "killall -HUP sendmail" to permit
> > sendmail to read again configuration file (e.g.  /etc/mail/access).
> > Now I get this error:
>
> > sendmail: no process killed
>
> > Why it doesn't work now for this new o.s. (Debian Sarge) ?!
>
> 0) Why do you use Debian-Sarge (3.1)?
>    The current stable release is Debian-Lenny (5.0).
>
> 1) If "killall -HUP sendmail" produces "sendmail: no process killed"
> then most likely
> 1a) no sendmail process been running
> 1b) you have not issued killall as root
>
> 2) On (modern) *debian* you can use
> 2a) "/etc/init.d/sendmail reload" to make sendmail daemon reared sendmail..cf
> 2b) "/etc/init.d/sendmail status" to know if sendmail daemons are running
>
> --
> [pl>en Andrew] Andrzej Adam Filip : a...(a)onet.eu : Andrzej.Fi...(a)gmail.com
> Never appeal to a man's "better nature".  He may not have one.
> Invoking his self-interest gives you more leverage.
>   -- Lazarus Long

Pardon ! Debian Lenny !
From: RICCARDO on
On 10 Feb, 10:08, Andrzej Adam Filip <a...(a)onet.eu> wrote:
> RICCARDO <ric.castell...(a)alice.it> wrote:
> > I migrated from Fedora Core 1 + Sendmail 8.12.10 to Debian Sarge +
> > sendmail 8.14.3-5 and I usually send "killall -HUP sendmail" to permit
> > sendmail to read again configuration file (e.g.  /etc/mail/access).
> > Now I get this error:
>
> > sendmail: no process killed
>
> > Why it doesn't work now for this new o.s. (Debian Sarge) ?!
>
> 0) Why do you use Debian-Sarge (3.1)?
>    The current stable release is Debian-Lenny (5.0).
>
> 1) If "killall -HUP sendmail" produces "sendmail: no process killed"
> then most likely
> 1a) no sendmail process been running
> 1b) you have not issued killall as root
>
> 2) On (modern) *debian* you can use
> 2a) "/etc/init.d/sendmail reload" to make sendmail daemon reared sendmail..cf
> 2b) "/etc/init.d/sendmail status" to know if sendmail daemons are running
>
> --
> [pl>en Andrew] Andrzej Adam Filip : a...(a)onet.eu : Andrzej.Fi...(a)gmail.com
> Never appeal to a man's "better nature".  He may not have one.
> Invoking his self-interest gives you more leverage.
>   -- Lazarus Long

Excuse me I'm using Debian Lenny.

1a - Sendmail is running
1b - killall is issued as root

I'm creating bash script to force sendmail to reload configuration,
first I'm usually to use "killall -HUP squid" , but
why this command doesn't work in debian lenny ?
From: Stefan Moeding on
Hi!

RICCARDO writes:

> 1a - Sendmail is running
> 1b - killall is issued as root
>
> I'm creating bash script to force sendmail to reload configuration,
> first I'm usually to use "killall -HUP squid" , but
> why this command doesn't work in debian lenny ?

The name of the process is not sendmail in lenny:

# ps axo pid,user,comm | grep sendmail
11462 root sendmail-mta
11490 smmsp sendmail-msp


Either specifiy "sendmail-mta" or use --regexp for the killall command.

--
Stefan
From: RICCARDO on
On 10 Feb, 11:00, Stefan Moeding <Feb2010.2.kil...(a)spamgourmet.com>
wrote:
> Hi!
>
> RICCARDO writes:
> > 1a - Sendmail is running
> > 1b - killall is issued as root
>
> > I'm creating bash script to force sendmail to reload configuration,
> > first I'm usually to use "killall -HUP squid" , but
> > why this command doesn't work in debian lenny ?
>
> The name of the process is not sendmail in lenny:
>
> # ps axo pid,user,comm | grep sendmail
> 11462 root     sendmail-mta
> 11490 smmsp    sendmail-msp
>
> Either specifiy "sendmail-mta" or use --regexp for the killall command.
>
> --
> Stefan

It works with killall -HUP sendmail-mta, I find out /usr/sbin/sendmail
and /usr/sbin/sendmail-mta link to the same file which is /usr/lib/
sm.bin/sendmail
If I run ps -ef I can see sendmail process and not sendmail-nta !!!