From jacs@gnome.co.uk  Thu Sep 25 03:23:02 2003
Return-Path: <jacs@gnome.co.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AC90816A4C0
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Sep 2003 03:23:02 -0700 (PDT)
Received: from smarthost.enta.net (smarthost.enta.net [195.74.97.231])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 62D2943FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Sep 2003 03:23:01 -0700 (PDT)
	(envelope-from jacs@gnome.co.uk)
Received: from smartsmtp.enta.net (smtp.enta.net [195.74.97.230])
	by smarthost.enta.net (Postfix) with ESMTP id BAFF0162D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Sep 2003 11:23:01 +0100 (BST)
Received: from smtp.enta.net (localhost [127.0.0.1])
	by smartsmtp.enta.net (8.12.3/8.12.3) with ESMTP id h8PAN7sE052135
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Sep 2003 11:23:07 +0100 (BST)
	(envelope-from jacs@gnome.co.uk)
Received: from hawk.gnome.co.uk (81-31-113-153.adsl.entanet.co.uk [81.31.113.153])
	by smtp.enta.net (Postfix) with ESMTP id A53ED992A6
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Sep 2003 11:23:07 +0100 (BST)
Received: from hawk.gnome.co.uk (localhost [127.0.0.1])
	by hawk.gnome.co.uk (8.12.9p1/8.12.9) with ESMTP id h8PAMuIw001192
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Sep 2003 11:22:56 +0100 (BST)
	(envelope-from jacs@hawk.gnome.co.uk)
Received: (from jacs@localhost)
	by hawk.gnome.co.uk (8.12.9p1/8.12.9/Submit) id h8PAMuYN001191;
	Thu, 25 Sep 2003 11:22:56 +0100 (BST)
Message-Id: <200309251022.h8PAMuYN001191@hawk.gnome.co.uk>
Date: Thu, 25 Sep 2003 11:22:56 +0100 (BST)
From: Chris Stenton <jacs@gnome.co.uk>
Reply-To: Chris Stenton <jacs@gnome.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sendmail_enable in rc.conf wrong values
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57207
>Category:       conf
>Synopsis:       sendmail_enable in rc.conf wrong values
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 25 03:30:20 PDT 2003
>Closed-Date:    Thu Sep 25 04:33:52 PDT 2003
>Last-Modified:  Thu Sep 25 04:33:52 PDT 2003
>Originator:     Chris Stenton
>Release:        FreeBSD 5.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD hawk.gnome.co.uk 5.1-RELEASE-p6 FreeBSD 5.1-RELEASE-p6 #2: Wed Sep 24 12:17:20 BST 2003 root@:/usr/obj/usr/src/sys/GNOME i386


	
>Description:
	 sendmail_enable in rc.conf is documented as YES/NO but rc.sendmail expects NONE/YES
>How-To-Repeat:
	see description
>Fix:

	simple!


>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Chris Stenton <jacs@gnome.co.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: conf/57207: sendmail_enable in rc.conf wrong values
Date: Thu, 25 Sep 2003 13:59:57 +0300

 On Thu, Sep 25, 2003 at 11:22:56AM +0100, Chris Stenton wrote:
 > 
 > >Number:         57207
 > >Category:       conf
 > >Synopsis:       sendmail_enable in rc.conf wrong values
 > >Originator:     Chris Stenton
 > >Release:        FreeBSD 5.1-RELEASE-p6 i386
 > >Environment:
 > System: FreeBSD hawk.gnome.co.uk 5.1-RELEASE-p6 FreeBSD 5.1-RELEASE-p6 #2: Wed Sep 24 12:17:20 BST 2003 root@:/usr/obj/usr/src/sys/GNOME i386
 > 	
 > >Description:
 
 > sendmail_enable in rc.conf is documented as YES/NO but
 > rc.sendmail expects NONE/YES
 
 Actually, I do not think this is strictly true.  While
 sendmail_enable="NONE" does indeed stop *all* Sendmail-related services
 from starting, sendmail_enable="NO" is a valid and useful setting - it
 disables the part of Sendmail that listens for incoming SMTP
 connections, while still allowing the administrator to run other
 Sendmail services, controlled by the sendmail_outbound_enable and
 sendmail_submit_enable knobs.  This is particularly useful for a home
 machine with no local mailserver, no local mailboxes, but still a need
 to route outgoing e-mail: the Sendmail submit service can accept
 messages and relay them to e.g. the ISP's mail server for actual
 delivery.
 
 By the way, if getting rid of Sendmail is your goal, then
 sendmail_enable="NONE", while working, is not the best solution.
 sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
 setting, and you can easily disable even loading rc.sendmail by setting
 the mta_startup_script knob to an empty string ("").
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 This inert sentence is my body, but my soul is alive, dancing in the sparks of your brain.

From: Chris Stenton <jacs@gnome.co.uk>
To: Peter Pentchev <roam@ringlet.net>
Cc: Chris Stenton <jacs@gnome.co.uk>, bug-followup@FreeBSD.org
Subject: Re: conf/57207: sendmail_enable in rc.conf wrong values
Date: Thu, 25 Sep 2003 12:26:14 +0100

 Thanks for that. Its not obvious from the config file that that is the
 case.
 
 The reason for disabling sendmail is that the mailscanner port starts
 its own daemon and then two sendmail queues.
 
 Chris
 
 
 On Thu, 2003-09-25 at 11:59, Peter Pentchev wrote:
 > On Thu, Sep 25, 2003 at 11:22:56AM +0100, Chris Stenton wrote:
 > > 
 > > >Number:         57207
 > > >Category:       conf
 > > >Synopsis:       sendmail_enable in rc.conf wrong values
 > > >Originator:     Chris Stenton
 > > >Release:        FreeBSD 5.1-RELEASE-p6 i386
 > > >Environment:
 > > System: FreeBSD hawk.gnome.co.uk 5.1-RELEASE-p6 FreeBSD 5.1-RELEASE-p6 #2: Wed Sep 24 12:17:20 BST 2003 root@:/usr/obj/usr/src/sys/GNOME i386
 > > 	
 > > >Description:
 > 
 > > sendmail_enable in rc.conf is documented as YES/NO but
 > > rc.sendmail expects NONE/YES
 > 
 > Actually, I do not think this is strictly true.  While
 > sendmail_enable="NONE" does indeed stop *all* Sendmail-related services
 > from starting, sendmail_enable="NO" is a valid and useful setting - it
 > disables the part of Sendmail that listens for incoming SMTP
 > connections, while still allowing the administrator to run other
 > Sendmail services, controlled by the sendmail_outbound_enable and
 > sendmail_submit_enable knobs.  This is particularly useful for a home
 > machine with no local mailserver, no local mailboxes, but still a need
 > to route outgoing e-mail: the Sendmail submit service can accept
 > messages and relay them to e.g. the ISP's mail server for actual
 > delivery.
 > 
 > By the way, if getting rid of Sendmail is your goal, then
 > sendmail_enable="NONE", while working, is not the best solution.
 > sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
 > setting, and you can easily disable even loading rc.sendmail by setting
 > the mta_startup_script knob to an empty string ("").
 > 
 > G'luck,
 > Peter
 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Thu Sep 25 04:31:33 PDT 2003 
State-Changed-Why:  
The submitter seems to agree that mta_startup_script="" is a better 
alternative to sendmail_enable="NONE". 
BTW, the YES/NO/NONE settings for sendmail_enable are still documented 
in -STABLE's /etc/defaults/rc.conf; they were documented in -CURRENT once, 
too, but then the NONE setting was deprecated in rev. 1.158. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57207 
>Unformatted:
