Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 22:30:28 -0400 (EDT)
From:      Anarcat <beaupran@iro.umontreal.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/14339: sendmail_enable should specify the path to sendmail
Message-ID:  <19991015023028.BBB8EC46@freed.dyn.ez-ip.net>

next in thread | raw e-mail | index | archive | help

>Number:         14339
>Category:       conf
>Synopsis:       sendmail_enable should specify the path to sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 14 19:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991015023028.BBB8EC46>