From thomas@cuivre.fr.eu.org  Mon Mar 11 04:53:37 2002
Return-Path: <thomas@cuivre.fr.eu.org>
Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6])
	by hub.freebsd.org (Postfix) with ESMTP id A1A3037B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Mar 2002 04:53:36 -0800 (PST)
Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34])
	by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id 94CF878E9
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Mar 2002 13:53:33 +0100 (CET)
Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000)
	id 9334B2C3D1; Mon, 11 Mar 2002 13:53:32 +0100 (CET)
Message-Id: <20020311125332.9334B2C3D1@melusine.cuivre.fr.eu.org>
Date: Mon, 11 Mar 2002 13:53:32 +0100 (CET)
From: Thomas Quinot <thomas@cuivre.fr.eu.org>
Reply-To: Thomas Quinot <thomas@cuivre.fr.eu.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mail/postfix: not started at boot time on -CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35775
>Category:       ports
>Synopsis:       mail/postfix: not started at boot time on -CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dwcjr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 11 05:00:01 PST 2002
>Closed-Date:    Fri May 10 06:52:20 PDT 2002
>Last-Modified:  Fri May 10 06:52:20 PDT 2002
>Originator:     Thomas Quinot
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD shalmaneser.enst.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Thu Feb 28 18:08:36 CET 2002     quinot@shalmaneser.enst.fr:/usr/obj/usr/src/sys/SHALMANESER  i386


	
>Description:
	On -CURRENT, the system version of Sendmail has been upgraded
	to 8.12.2. The command line interface /usr/sbin/sendmail has
	changed with that version, which means that when sendmail_enable
	is YES, rc.network runs '/usr/sbin/sendmail -L VariousStuff -q30m'
	to launch the various Sendmail server processes (now splitted)
	instead of '/usr/sbin/sendmail -bd -q30m' as was the case before
	the upgrade.
	
	The /usr/local/sbin/sendmail compatibility interface provided
	by Postfix supported the old syntax, but not the new one.
	Consequently, on sites that use Postfix, have sendmail_enable
	set to YES and do not explicitly set sendmail_flags, Postfix
	startup will now fail with a usage error.

>How-To-Repeat:
	Install Postfix port.
	In /etc/rc.conf, define only 'sendmail_enable=YES'
	Observe that Postfix is not started at boot time as it used
	to be before src/etc/defaults/rc.conf rev. 1.138 was committed.
>Fix:
	Possible fixes include:
	- advising users of the Postfix port that they have to set
	  sendmail_flags explicitly to '-bd';

	- providing a /usr/local/etc/rc.d startup script (which could
	  be as simple as 'exec /usr/local/sbin/postfix "$1"')
	  and advise users to set sendmail_enable to NO;

	- having Wietse upgrade the compatibility binary to support
	  the new Sendmail syntax.

>Release-Note:
>Audit-Trail:

From: Vivek Khera <khera@kcilink.com>
To: freebsd-gnats-submit@FreeBSD.org, thomas@cuivre.fr.eu.org
Cc: "David W. Chapman, Jr." <dwcjr@inethouston.net>
Subject: Re: ports/35775: mail/postfix: not started at boot time on -CURRENT
Date: Tue, 2 Apr 2002 14:40:33 -0500

 Hi, in the postfix 1.1.7 and postfix-current 1.1.7-20020331 ports, it
 recommends to put
 
 sendmail_enable="YES"
 sendmail_flags="-bd"
 sendmail_outbound_enable="NO"
 sendmail_submit_enable="NO"
 sendmail_msp_queue_enable="NO"
 
 in /etc/rc.conf.
 
 This will work for all current versions of the rc* scripts, including
 4.5-STABLE.
 
 The postfix author does not feel it wise to update postfix, and
 providing a separate rc.d script still requires one to edit rc.conf to
 disable sendmail, so why bother with the extra script.
 
 When 5.0 reaches -RELEASE, then we'll revisit this to use the new MTA
 start script flag gshapiro was adding.
Responsible-Changed-From-To: freebsd-ports->dwcjr 
Responsible-Changed-By: dwcjr 
Responsible-Changed-When: Sat Apr 13 16:43:02 PDT 2002 
Responsible-Changed-Why:  
I'll handle this one since I commit most of the postfix updates 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35775 
State-Changed-From-To: open->closed 
State-Changed-By: dwcjr 
State-Changed-When: Fri May 10 06:52:09 PDT 2002 
State-Changed-Why:  
Postfix now informs you of what sendmail flags to use. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35775 
>Unformatted:
gshapiro: Actually, if sendmail_enable=YES, it runs '/usr/sbin/sendmail
gshapiro: -L sm-mta -bd -q30m'.  If sendmail_enable=NO, it runs
gshapiro: '/usr/sbin/sendmail -L sm-queue -q30m'.
