From owner-freebsd-questions Wed Jan 14 12:21:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18977 for questions-outgoing; Wed, 14 Jan 1998 12:21:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org ([158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18366 for ; Wed, 14 Jan 1998 12:17:31 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id UAA20232; Wed, 14 Jan 1998 20:02:14 GMT (envelope-from brian@Awfulhak.org) Message-Id: <199801142002.UAA20232@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: stephen farrell cc: michael dorin , questions@FreeBSD.ORG Subject: Re: smtp restarting after changes to sendmail.* In-reply-to: Your message of "14 Jan 1998 09:28:57 CST." <8767nnf51i.fsf@phaedrus.uchicago.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 Jan 1998 20:02:13 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk > michael dorin writes: > > > How do I restart smtp without rebooting after I change the sendmail > > files? > > In my opinion this is a benefit of sysV way of doing things over > BSD--under solaris, e.g., you do /etc/init.d/sendmail stop; > /etc/init.d/sendmail start and you don't have to worry about flags and > so on. > > 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. > -- > > Steve Farrell > -- Brian , , Don't _EVER_ lose your sense of humour....