From owner-freebsd-questions Wed Jan 7 14:56:05 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA21539 for questions-outgoing; Wed, 7 Jan 1998 14:56:05 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA21466 for ; Wed, 7 Jan 1998 14:55:51 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.5/8.8.5) with ESMTP id WAA07104; Wed, 7 Jan 1998 22:34:25 GMT Message-ID: <34B40903.1A353BD8@tdx.co.uk> Date: Wed, 07 Jan 1998 23:00:19 +0000 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Kwoody CC: freebsd-questions Subject: Re: restarting sendamil References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You'll be better off with something like: /usr/sbin/sendmail -bd -q30m (or whatever your rc.conf file uses to bring sendmail up in the first place)... The PID file tells you the PID sendmail was running as - once it's dead the PID is useless (it'll get another PID when it next comes up - very probably a different one ;-) Regards, Kp Kwoody wrote: > > I killed sendmail with kill `head -1 /var/run/sendmail.pid` > > now how to do I restart it with the tail command?