From nobody@FreeBSD.ORG  Mon Oct 23 23:58:30 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B039B37B479; Mon, 23 Oct 2000 23:58:30 -0700 (PDT)
Message-Id: <20001024065830.B039B37B479@hub.freebsd.org>
Date: Mon, 23 Oct 2000 23:58:30 -0700 (PDT)
From: gavin@itworks.com.au
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: qmail installation should also modify /etc/make.conf
X-Send-Pr-Version: www-1.0

>Number:         22269
>Category:       ports
>Synopsis:       qmail installation should also modify /etc/make.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 24 00:00:01 PDT 2000
>Closed-Date:    Tue Oct 31 15:57:07 PST 2000
>Last-Modified:  Tue Oct 31 16:15:27 PST 2000
>Originator:     Gavin Cameron
>Release:        4.1.1.-STABLE
>Organization:
ITworks Consulting
>Environment:
>Description:
When qmail is installed out of the ports you do a
  make disable-sendmail
and a
  make enable-qmail

One of those commands should add a line to /etc/make.conf

  NO_SENDMAIL=true

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Chris Faulhaber <jedgar@fxp.org>
To: gavin@itworks.com.au
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Tue, 24 Oct 2000 07:32:11 -0400

 On Mon, Oct 23, 2000 at 11:58:30PM -0700, gavin@itworks.com.au wrote:
 > 
 > >Number:         22269
 > >Category:       ports
 > >Synopsis:       qmail installation should also modify /etc/make.conf
 > 
 > One of those commands should add a line to /etc/make.conf
 > 
 >   NO_SENDMAIL=true
 > 
 
 Why?
 
 -- 
 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 --------------------------------------------------------
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 

From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To: gavin@itworks.com.au
Cc: freebsd-gnats-submit@FreeBSD.ORG, ports@freebsd.org
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Tue, 24 Oct 2000 19:30:02 -0200

 > When qmail is installed out of the ports you do a
 >   make disable-sendmail
 > and a
 >   make enable-qmail
 > 
 > One of those commands should add a line to /etc/make.conf
 > 
 >   NO_SENDMAIL=true
 
 	I am not sure I agree. Should both qmail and postfix
 do this? I do not think so as I think this should be a aware
 user choice. Specially because most users do not build world
 and I am not sure those who do would prefer it that way.
  	However, I am open to argumentation.
 	Ports?
 
 -- 
 Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
 lioux at ( freebsd dot org | linf dot unb dot br )
 flames to beloved devnull@someotherworldbeloworabove.org
 

From: Gavin Cameron <gavin@itworks.com.au>
To: Chris Faulhaber <jedgar@fxp.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Wed, 25 Oct 2000 10:03:01 +1100 (EST)

 So you don't accidently obliterate part of the qmail install when you do a
 make world.
 
 Gavin
 
 []-----------------------------------+------------------------------------[]
 | Gavin Cameron                      |          ITworks Consulting         |
 | Ph    : +61 3 9642 5477            |       Level 8, 488 Bourke Street    |
 | Fax   : +61 3 9642 5499            |         Melbourne,  Victoria        |
 | Email : gavin@itworks.com.au       |           Australia,  3000          |
 []-----------------------------------+------------------------------------[]
 
 On Tue, 24 Oct 2000, Chris Faulhaber wrote:
 
 > On Mon, Oct 23, 2000 at 11:58:30PM -0700, gavin@itworks.com.au wrote:
 > > 
 > > >Number:         22269
 > > >Category:       ports
 > > >Synopsis:       qmail installation should also modify /etc/make.conf
 > > 
 > > One of those commands should add a line to /etc/make.conf
 > > 
 > >   NO_SENDMAIL=true
 > > 
 > 
 > Why?
 > 
 > -- 
 > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 > --------------------------------------------------------
 > FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 > 
 
 

From: Gavin Cameron <gavin@itworks.com.au>
To: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Cc: freebsd-gnats-submit@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Wed, 25 Oct 2000 10:07:05 +1100 (EST)

 For those that never do a build world the parameter will never come into
 play. For those that do a build world I'm sure that they don't want their
 qmail installation corrupted or overwritten.
 
 Both of those points seem to say that putting the entry into
 /etc/make.conf is a good thing.
 
 Gavin
 
 []-----------------------------------+------------------------------------[]
 | Gavin Cameron                      |          ITworks Consulting         |
 | Ph    : +61 3 9642 5477            |       Level 8, 488 Bourke Street    |
 | Fax   : +61 3 9642 5499            |         Melbourne,  Victoria        |
 | Email : gavin@itworks.com.au       |           Australia,  3000          |
 []-----------------------------------+------------------------------------[]
 
 On Tue, 24 Oct 2000, Mario Sergio Fujikawa Ferreira wrote:
 
 > > When qmail is installed out of the ports you do a
 > >   make disable-sendmail
 > > and a
 > >   make enable-qmail
 > > 
 > > One of those commands should add a line to /etc/make.conf
 > > 
 > >   NO_SENDMAIL=true
 > 
 > 	I am not sure I agree. Should both qmail and postfix
 > do this? I do not think so as I think this should be a aware
 > user choice. Specially because most users do not build world
 > and I am not sure those who do would prefer it that way.
 >  	However, I am open to argumentation.
 > 	Ports?
 > 
 > -- 
 > Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
 > lioux at ( freebsd dot org | linf dot unb dot br )
 > flames to beloved devnull@someotherworldbeloworabove.org
 > 
 
 

From: Chris Faulhaber <jedgar@fxp.org>
To: Gavin Cameron <gavin@itworks.com.au>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Tue, 24 Oct 2000 19:09:25 -0400

 On Wed, Oct 25, 2000 at 10:03:01AM +1100, Gavin Cameron wrote:
 > So you don't accidently obliterate part of the qmail install when you do a
 > make world.
 > 
 
 What parts would that be?  mailwrapper(8), via /etc/mail/mailer.conf,
 should handle qmail execution; and qmail shouldn't be overwriting
 anything in /usr/{bin,sbin}.
 
 -- 
 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 --------------------------------------------------------
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 

From: Gavin Cameron <gavin@itworks.com.au>
To: Chris Faulhaber <jedgar@fxp.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Wed, 25 Oct 2000 10:14:23 +1100 (EST)

 Where is mailwrapper on a 3.x box?
 
 A build world on a 3.x box will destroy your qmail.
 
 Gavin
 
 []-----------------------------------+------------------------------------[]
 | Gavin Cameron                      |          ITworks Consulting         |
 | Ph    : +61 3 9642 5477            |       Level 8, 488 Bourke Street    |
 | Fax   : +61 3 9642 5499            |         Melbourne,  Victoria        |
 | Email : gavin@itworks.com.au       |           Australia,  3000          |
 []-----------------------------------+------------------------------------[]
 
 On Tue, 24 Oct 2000, Chris Faulhaber wrote:
 
 > On Wed, Oct 25, 2000 at 10:03:01AM +1100, Gavin Cameron wrote:
 > > So you don't accidently obliterate part of the qmail install when you do a
 > > make world.
 > > 
 > 
 > What parts would that be?  mailwrapper(8), via /etc/mail/mailer.conf,
 > should handle qmail execution; and qmail shouldn't be overwriting
 > anything in /usr/{bin,sbin}.
 > 
 > -- 
 > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 > --------------------------------------------------------
 > FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 > 
 
 

From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To: Chris Faulhaber <jedgar@fxp.org>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Tue, 24 Oct 2000 21:15:28 -0200

 On Tue, Oct 24, 2000 at 04:09:46PM -0700, Chris Faulhaber wrote:
 >  On Wed, Oct 25, 2000 at 10:03:01AM +1100, Gavin Cameron wrote:
 >  > So you don't accidently obliterate part of the qmail install when you do a
 >  > make world.
 >  > 
 >  
 >  What parts would that be?  mailwrapper(8), via /etc/mail/mailer.conf,
 >  should handle qmail execution; and qmail shouldn't be overwriting
 >  anything in /usr/{bin,sbin}.
 
 	I tend to agree. Unless, building sendmail corrupts
 /etc/mail/mailer.conf which it does not on my home system.
 	I am a bit skeptic about it corrupting anything. As of
 qmail 1.03, it does lie on its own tree /var/qmail very far
 from /usr
 
 -- 
 Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
 lioux at ( freebsd dot org | linf dot unb dot br )
 flames to beloved devnull@someotherworldbeloworabove.org
 

From: Chris Faulhaber <jedgar@fxp.org>
To: Gavin Cameron <gavin@itworks.com.au>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Tue, 24 Oct 2000 19:19:07 -0400

 On Wed, Oct 25, 2000 at 10:14:23AM +1100, Gavin Cameron wrote:
 > Where is mailwrapper on a 3.x box?
 > 
 > A build world on a 3.x box will destroy your qmail.
 > 
 
 1) According to the PR, you are discussing 4.1.1-STABLE.
 2) For 3.x, perhaps a message suggesting the addition to make.conf
    might be appropriate, but I don't necessarily agree with doing
    that automatically.
 
 -- 
 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 --------------------------------------------------------
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
 

From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To: Chris Faulhaber <jedgar@fxp.org>
Cc: Gavin Cameron <gavin@itworks.com.au>,
	freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Wed, 25 Oct 2000 08:58:21 -0200

 On Tue, Oct 24, 2000 at 04:19:45PM -0700, Chris Faulhaber wrote:
 >  On Wed, Oct 25, 2000 at 10:14:23AM +1100, Gavin Cameron wrote:
 >  > Where is mailwrapper on a 3.x box?
 >  > 
 >  > A build world on a 3.x box will destroy your qmail.
 >  > 
 >  
 >  1) According to the PR, you are discussing 4.1.1-STABLE.
 >  2) For 3.x, perhaps a message suggesting the addition to make.conf
 >     might be appropriate, but I don't necessarily agree with doing
 >     that automatically.
 
 	I am with Faulhaber on this, I do not philosophicaly agree
 with doing it automatically but I do agree with Cameron that it is
 an important issue.
 	Is a sensitive warning acceptable? And, if it is, is it enough?
 
 ---
 
 diff -ruN /usr/ports/mail/qmail/Makefile mail/qmail/Makefile
 --- /usr/ports/mail/qmail/Makefile	Mon Oct  9 02:43:31 2000
 +++ mail/qmail/Makefile	Wed Oct 25 08:52:36 2000
 @@ -213,11 +213,20 @@
  		${ECHO_MSG} "===> or, do \make force_enable_qmail\ if you are sure" ; \
  		${ECHO_MSG} "===> you want this port replacing some binaries" ; \
  		${ECHO_MSG} "===> IF THIS FEELS UNEASY, read ${PREFIX}/${DOCDIR}/REMOVE.sendmail and do it manually" ; \
 +		${ECHO_MSG} "===> One side issue is that if you do replace them," ; \
 +		${ECHO_MSG} "===> you really should consider ADDING \"NO_SENDMAIL=true\"" ; \
 +		${ECHO_MSG} "===> to your /etc/make.conf if you do \"make world\"." ; \
 +		${ECHO_MSG} "===> Otherwise, \"make world\" will \"fix\" your sendmail" ; \
 +		${ECHO_MSG} "===> installation breaking your qmail one." ; \
 +		${ECHO_MSG} "===> Read the FreeBSD Handbook section on \"make world\"" ; \
 +		${ECHO_MSG} "===> if you do not know what I am talking about." ; \
 +		${ECHO_MSG} "===> Check http://www.freebsd.org/ for the most" ; \
 +		${ECHO_MSG} "===> updated copy of the Handbook." ; \
  	fi
 -	@${ECHO} "===> Do not forget to choose an appropriate qmail startup"
 -	@${ECHO} "===> script. Go through ${PREFIX}/boot, choose one"
 -	@${ECHO} "===> and copy the chosen script as ${PREFIX}/rc"
 -	@${ECHO} "===> For example, \cp ${PREFIX}/boot/proc+df ${PREFIX}/rc\"
 +	@${ECHO_MSG} "===> Do not forget to choose an appropriate qmail startup"
 +	@${ECHO_MSG} "===> script. Go through ${PREFIX}/boot, choose one"
 +	@${ECHO_MSG} "===> and copy the chosen script as ${PREFIX}/rc"
 +	@${ECHO_MSG} "===> For example, \cp ${PREFIX}/boot/proc+df ${PREFIX}/rc\"
  
  # taken from mail/postfix idea
  force-enable-qmail: install disable-sendmail
 
 ---
 
 	A target to do that the little voodoo along the lines
 of disable-sendmail may be appropriate too.
 
 -- 
 Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
 lioux at ( freebsd dot org | linf dot unb dot br )
 flames to beloved devnull@someotherworldbeloworabove.org
 

From: Neil Blakey-Milner <nbm@mithrandr.moria.org>
To: Gavin Cameron <gavin@itworks.com.au>
Cc: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>,
	freebsd-gnats-submit@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Sat, 28 Oct 2000 15:05:09 +0200

 On Wed 2000-10-25 (10:07), Gavin Cameron wrote:
 > For those that never do a build world the parameter will never come into
 > play. For those that do a build world I'm sure that they don't want their
 > qmail installation corrupted or overwritten.
 > 
 > Both of those points seem to say that putting the entry into
 > /etc/make.conf is a good thing.
 
 No.  If you use mailwrapper, like you're supposed to, then it won't
 corrupt anything.
 
 If you want to bypass mailwrapper, then that's your choice, and then
 _you_ can put "NO_MAILWRAPPER" in /etc/make.conf.
 
 Neil
 -- 
 Neil Blakey-Milner
 nbm@mithrandr.moria.org
 

From: Gavin Cameron <gavin@itworks.com.au>
To: Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>,
	freebsd-gnats-submit@FreeBSD.ORG, ports@FreeBSD.ORG
Subject: Re: ports/22269: qmail installation should also modify /etc/make.conf
Date: Sun, 29 Oct 2000 01:40:08 +1100 (EST)

 As has been pointed out mailwrapper only works for 4.x... people with 3.x
 and before should be told to make the change in /etc/make.conf.
 
 Cheers
 Gavin
 
 []-----------------------------------+------------------------------------[]
 | Gavin Cameron                      |          ITworks Consulting         |
 | Ph    : +61 3 9642 5477            |       Level 8, 488 Bourke Street    |
 | Fax   : +61 3 9642 5499            |         Melbourne,  Victoria        |
 | Email : gavin@itworks.com.au       |           Australia,  3000          |
 []-----------------------------------+------------------------------------[]
 
 On Sat, 28 Oct 2000, Neil Blakey-Milner wrote:
 
 > On Wed 2000-10-25 (10:07), Gavin Cameron wrote:
 > > For those that never do a build world the parameter will never come into
 > > play. For those that do a build world I'm sure that they don't want their
 > > qmail installation corrupted or overwritten.
 > > 
 > > Both of those points seem to say that putting the entry into
 > > /etc/make.conf is a good thing.
 > 
 > No.  If you use mailwrapper, like you're supposed to, then it won't
 > corrupt anything.
 > 
 > If you want to bypass mailwrapper, then that's your choice, and then
 > _you_ can put "NO_MAILWRAPPER" in /etc/make.conf.
 > 
 > Neil
 > -- 
 > Neil Blakey-Milner
 > nbm@mithrandr.moria.org
 > 
 
 
State-Changed-From-To: open->closed  
State-Changed-By: lioux 
State-Changed-When: Tue Oct 31 15:57:07 PST 2000 
State-Changed-Why:  
Thanks! Committed with changes. This will be a warning for now. 
Perhaps, an optional target will be added after some field trial. 

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