From owner-freebsd-questions Tue Jul 8 12:40:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA03739 for questions-outgoing; Tue, 8 Jul 1997 12:40:51 -0700 (PDT) Received: from limbo.senate.org (nathan@senate.org [204.141.125.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA03732 for ; Tue, 8 Jul 1997 12:40:40 -0700 (PDT) Received: (from nathan@localhost) by limbo.senate.org (8.8.5/8.8.5) id PAA11540; Tue, 8 Jul 1997 15:40:02 -0400 (EDT) From: Nathan Dorfman Message-Id: <199707081940.PAA11540@limbo.senate.org> Subject: Re: sendmail In-Reply-To: from Mail Lists at "Jul 8, 97 12:03:46 pm" To: maillist@home.comhelp.com (Mail Lists) Date: Tue, 8 Jul 1997 15:40:01 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk If sendmail was started with a full path (/usr/sbin/sendmail and not just sendmail) you can send it a HUP signal and it will restart. Due to security reasons it will not restart without a full pathname. If it has been started this way, as is the case with a default 2.2.2 installation, first make sure to change it in your rc file and then terminate sendmail, restart it again: # ps -auxw | grep sendmail root 10442 0.0 4.9 528 676 ?? Is 11:38AM 0:00.61 sendmail: accep ting connections on port 25 (sendmail) # kill 10442 # /usr/sbin/sendmail -bd -q30m sendmail will log a message if it can't restart due to this problem. It is a good idea to start it the right way in any case. In your /etc/rc: if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then echo -n ' sendmail'; sendmail ${sendmail_flags} fi Change that to /usr/sbin/senmail ${sendmail_flags}, so next time you reboot you will have it started the "correct" way. > > Hi...how do I restart sendmail....I just added some aliases and need to > restart it....thanks...Adam >