From spidey@freed.dyn.ez-ip.net Thu Oct 14 19:30:14 1999
Return-Path: <spidey@freed.dyn.ez-ip.net>
Received: from freed.dyn.ez-ip.net (deimos.IRO.UMontreal.CA [132.204.20.21])
	by hub.freebsd.org (Postfix) with ESMTP id C802914CDE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 1999 19:30:07 -0700 (PDT)
	(envelope-from spidey@freed.dyn.ez-ip.net)
Received: by freed.dyn.ez-ip.net (Postfix, from userid 1000)
	id BBB8EC46; Thu, 14 Oct 1999 22:30:28 -0400 (EDT)
Message-Id: <19991015023028.BBB8EC46@freed.dyn.ez-ip.net>
Date: Thu, 14 Oct 1999 22:30:28 -0400 (EDT)
From: Anarcat <beaupran@iro.umontreal.ca>
Sender: spidey@freed.dyn.ez-ip.net
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Subject: sendmail_enable should specify the path to sendmail
X-Send-Pr-Version: 3.2

>Number:         14339
>Category:       conf
>Synopsis:       sendmail_enable should specify the path to sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 14 19:40:00 PDT 1999
>Closed-Date:    Fri Oct 15 02:12:37 PDT 1999
>Last-Modified:  Fri Oct 15 02:13:11 PDT 1999
>Originator:     Spidey
>Release:        FreeBSD 3.3-RC i386
>Organization:
>Environment:

	FBSD-3.3RC (19990909)

>Description:

	It could be nice to be able to sepcify the sendmail program to start
	if we have an alternative to the standard sendmail. For example, run
	"/usr/local/postfix start".

>How-To-Repeat:

	N/A

>Fix:
	
	Here's a patch that could be usei (!!!!!UNTESTED!!!!!):

*** rc  Fri Sep 10 19:52:29 1999
--- /tmp/rc     Thu Oct 14 22:09:57 1999
***************
*** 326,333 ****
        echo -n ' printer';             ${lpd_program} ${lpd_flags}
  fi
  
! if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
!       echo -n ' sendmail';    /usr/sbin/sendmail ${sendmail_flags}
  fi
  
  if [ "X${usbd_enable}" = X"YES" ]; then
--- 326,333 ----
        echo -n ' printer';             ${lpd_program} ${lpd_flags}
  fi
  
! if [ ! "X${sendmail_enablE}" = X"NO" -a -r /etc/sendmail.cf ]; then
!       echo -n ' sendmail';    ${sendmail_enable} ${sendmail_flags}
  fi
  
  if [ "X${usbd_enable}" = X"YES" ]; then


I hope I made that PR correctly... :)



>Release-Note:
>Audit-Trail:

From: Alexey Zelkin <phantom@FreeBSD.ORG>
To: Anarcat <beaupran@iro.umontreal.ca>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: conf/14339: sendmail_enable should specify the path to sendmail
Date: Fri, 15 Oct 1999 08:29:59 +0400

 hi,
 
 On Thu, Oct 14, 1999 at 10:30:28PM -0400, Anarcat wrote:
 
 > >Number:         14339
 > >Category:       conf
 > >Synopsis:       sendmail_enable should specify the path to sendmail
  
 > 	It could be nice to be able to sepcify the sendmail program to start
 > 	if we have an alternative to the standard sendmail. For example, run
 > 	"/usr/local/postfix start".
 
 Postfix is port. So it should be started by script located in ports startup
 directory (it's usualy /usr/local/etc/rc.d/). It applies to all other
 _thrid-parat_ applications.
 
 -- 
 /* Alexey Zelkin                       && phantom@cris.net    */
 /* Tavric National University          && phantom@crimea.edu  */
 /* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Oct 15 02:12:37 PDT 1999 
State-Changed-Why:  
A more comprehensive approach can be found in PR 13609. 
>Unformatted:
