Date: Thu, 28 Feb 2002 08:18:11 -0800 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Michael Wardle <michael@endbracket.net> 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> In-Reply-To: <200202281020.g1SAK2R65822@freefall.freebsd.org>; from michael@endbracket.net on Thu, Feb 28, 2002 at 02:20:02AM -0800 References: <200202281020.g1SAK2R65822@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020228081811.I66092>
