From owner-freebsd-questions Wed Jan 14 07:34:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08516 for questions-outgoing; Wed, 14 Jan 1998 07:34:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07897 for ; Wed, 14 Jan 1998 07:29:01 -0800 (PST) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id JAA06045; Wed, 14 Jan 1998 09:28:58 -0600 (CST) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.7/8.8.5) id JAA19003; Wed, 14 Jan 1998 09:28:57 -0600 (CST) To: michael dorin Cc: questions@FreeBSD.ORG Subject: Re: smtp restarting after changes to sendmail.* References: <199801140606.GAA00312@chaski.com> From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 14 Jan 1998 09:28:57 -0600 In-Reply-To: michael dorin's message of "Wed, 14 Jan 1998 06:06:29 +0000 ()" Message-ID: <8767nnf51i.fsf@phaedrus.uchicago.edu> Lines: 22 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" 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). -- Steve Farrell