Date: Thu, 15 Jan 1998 08:17:21 -0800 (PST) From: "Jonathan M. Bresler" <jmb> To: shawn@luke.cpl.net (Shawn Ramsey) Cc: brian@awfulhak.org, stephen@farrell.org, mike@chaski.com, questions@FreeBSD.ORG Subject: Re: smtp restarting after changes to sendmail.* Message-ID: <199801151617.IAA06333@hub.freebsd.org> In-Reply-To: <Pine.BSF.3.95.980114153100.26691B-100000@luke.cpl.net> from Shawn Ramsey at "Jan 14, 98 03:32:04 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801151617.IAA06333>
