From owner-freebsd-bugs Thu Feb 28 8:18:19 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id F16C737B417 for ; Thu, 28 Feb 2002 08:18:15 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228161815.YJIS1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Thu, 28 Feb 2002 16:18:15 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1SGIBh69036; Thu, 28 Feb 2002 08:18:11 -0800 (PST) (envelope-from cjc) Date: Thu, 28 Feb 2002 08:18:11 -0800 From: "Crist J. Clark" To: Michael Wardle Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: conf/35371: /etc/rc virecover script starts sendmail even if sendmail should be off Message-ID: <20020228081811.I66092@blossom.cjclark.org> References: <200202281020.g1SAK2R65822@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202281020.g1SAK2R65822@freefall.freebsd.org>; from michael@endbracket.net on Thu, Feb 28, 2002 at 02:20:02AM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 28, 2002 at 02:20:02AM -0800, Michael Wardle wrote: [snip] > 1) shouldn't we test to see if sendmail is installed before calling it? sendmail(8) always exists in a standard FreeBSD system. > 2) shouldn't it be possible to disable calling "sendmail" (particularly > if ${sendmail_enable} is NO)? Not if you want email to work at all. > 3) is there any reason why we shouldn't call "mail" instead of > "sendmail"? mail(1) invokes sendmail(8) too. > 4) if we're going to call an MTA rather than an MUA, shouldn't we at > least test whether it's already running It doesn't matter if sendmail(8) is running elsewhere on the system as a daemon or not. > 5) shouldn't we call whatever MTA the user has configured (e.g. > sendmail, postfix, exim, qmail)? We are. See mailwrapper(8). > I'd really like to be able to disable the behavior I mentioned in the > original report. I'm not sure what behavior you are describing. Your original report was incorrect. sendmail(8) is not being invoked as a daemon. It is sending local email. It will exit. If you have network problems, it might take a while for this to happen (due to DNS issues). If you would like help in fixing your system so the mail delivery happens more quickly, -questions is a better forum. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message