From owner-freebsd-questions Thu Jan 15 08:19:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06510 for questions-outgoing; Thu, 15 Jan 1998 08:19:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06333; Thu, 15 Jan 1998 08:17:21 -0800 (PST) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199801151617.IAA06333@hub.freebsd.org> Subject: Re: smtp restarting after changes to sendmail.* In-Reply-To: from Shawn Ramsey at "Jan 14, 98 03:32:04 pm" To: shawn@luke.cpl.net (Shawn Ramsey) Date: Thu, 15 Jan 1998 08:17:21 -0800 (PST) Cc: brian@awfulhak.org, stephen@farrell.org, mike@chaski.com, questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Shawn Ramsey wrote: > > > Unless I'm sadly mistaken and need to take myself out and shoot > > > myself, under freebsd you need to (a) ps -auxx and find the sendmail > > > process and kill it (or use killall, which I never think of b/c I use > > > solaris so much, and killall in solaris does something totally > > > immoral) (b) check the flags for sendmail in /etc/rc.conf, and then > > > (c) run sendmail (which is in /usr/sbin) with those flags. (of course > > > you quickly learn /usr/sbin/sendmail -bd -q1h). > > > > Or you can just type "killall -1 sendmail" because you quickly learn > > that FreeBSD ain't Slowaris :-) > > > > IMO, this is a benefit of the FreeBSD way of doing things over SysV. > > It also means that you don't refuse smtp connections between the stop > > and start. > > Can't you just HUP it? (newer versions?). In that case you could also cat > the pid file and hup it. kill -HUP `head -1 /var/run/sendmail.pid` make sure that you invoke sendmail with its full path, /usr/sbin/sendmail. you can check how you invoked sendmail using "tail -1 /var/run/sendmail.pid" if it does not show "/usr/sbin/sendmail....." fix your /etc/rc script. jmb