From michael@endbracket.net  Wed Feb 27 23:29:32 2002
Return-Path: <michael@endbracket.net>
Received: from web11201.mail.yahoo.com (web11201.mail.yahoo.com [216.136.131.171])
	by hub.freebsd.org (Postfix) with SMTP id CC75437B405
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2002 23:29:31 -0800 (PST)
Received: from [198.142.229.17] by web11201.mail.yahoo.com via HTTP; Wed, 27 Feb 2002 23:29:31 PST
Message-Id: <20020228072931.16424.qmail@web11201.mail.yahoo.com>
Date: Wed, 27 Feb 2002 23:29:31 -0800 (PST)
From: Michael Wardle <michael@endbracket.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Re:%20conf/35371:%20%2Fetc%2Frc%20virecover%20script%20starts%20sendmail%20even%20if%20sendmail%20should%20be%20off

>Number:         35398
>Category:       conf
>Synopsis:       Re:%20conf/35371:%20%2Fetc%2Frc%20virecover%20script%20starts%20sendmail%20even%20if%20sendmail%20should%20be%20off
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 23:30:01 PST 2002
>Closed-Date:    Tue Mar 5 00:32:18 PST 2002
>Last-Modified:  Thu Oct 07 18:21:59 GMT 2004
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 I dislike the hasty manner with which this was closed.
 
 As far as I can tell, sendmail is installed by default, and is most
 likely installed as part of the base system, as pkg_info -W `which
 sendmail` returns nothing (i.e. it wasn't installed as an optional
 package).
 
 Sendmail does not work on my system, as I do not have a local DNS
 domain or DNS server (I get an error like "unrecognized domain name...
 sleeping..."), and I do not see the point of somehow removing sendmail
 or playing around with it to ensure it works in my domain, as I do not
 see any need to send mail.
 
 I deliberately disabled sendmail, as it is not configured, and I do not
 want it run in any situation.
 
 Shouldn't rc at least test whether sendmail is available and/or enabled
 before attempting to invoke it?  I certainly think I should be able to
 stop (via a variable/flag) sendmail from being invoked.
 
 (Showing my ignorance of how mail works) Is sendmail necessary for
 sending to localhost?  Wouldn't invoking "mail" rather than "sendmail"
 be more appropriate?
 
 If you think ${sendmail_enable} only refers to whether the daemon is
 started at a particular point, then we do what we like elsewhere, I
 would like *some way* of stopping sendmail from starting.
 
 I think it is preferred to test whether sendmail ([ -x
 /usr/sbin/sendmail ] or similar) is available before attempting to
 invoke it.
 
 Is there any way I can get something suitable done?
 
 
 
 __________________________________________________
 Do You Yahoo!?
 Yahoo! Greetings - Send FREE e-cards for every occasion!
 http://greetings.yahoo.com
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: Michael Wardle <michael@endbracket.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: pending/35398: Re:%20conf/35371:%20%2Fetc%2Frc%20virecover%20script%20starts%20sendmail%20even%20if%20sendmail%20should%20be%20off
Date: Tue, 5 Mar 2002 10:26:00 +0200

 On 2002-02-27 23:29, Michael Wardle wrote:
 > >Synopsis:       Re:%20conf/35371:%20%2Fetc%2Frc%20virecover%20\
 script%20starts%20sendmail%20even%20if%20sendmail%20should%20be%20off
 
 MIME confused gnats here, and your reply didn't show up as a followup to
 the correct PR.
 
 >  (Showing my ignorance of how mail works) Is sendmail necessary for
 >  sending to localhost?  Wouldn't invoking "mail" rather than "sendmail"
 >  be more appropriate?
 
 This is more appropriate for freebsd-questions.
 It is not a 'bug' in FreeBSD.
 Please, direct your questions to the list :-)
 
 Giorgos Keramidas                       FreeBSD Documentation Project
 keramida@{freebsd.org,ceid.upatras.gr}  http://www.FreeBSD.org/docproj/
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Tue Mar 5 00:32:18 PST 2002 
State-Changed-Why:  
Misfiled followup to conf/35371. 
This is more appropriate for -questions, since the original PR 
doesn't describe a 'bug' in the rc scripts. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35398 
>Unformatted:
