Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 14:34:11 +0100 (CET)
From:      "toor@angel" <toor@raggedclown.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/34993: Inappropriate check for starting sendmail in /etc/rc
Message-ID:  <20020216133411.A2810225BC@angel.raggedclown.net>

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

>Number:         34993
>Category:       conf
>Synopsis:       Inappropriate check for starting sendmail in /etc/rc
>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:   Sat Feb 16 05:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     cliff@raggedclown.net
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD angel.raggedclown.intra 4.5-STABLE FreeBSD 4.5-STABLE #6: Thu Feb 14 07:11:29 CET 2002 toor@angel.raggedclown.intra:/usr/obj/usr/src/sys/ANGEL-S i386

>Description:
	When sendmail_enable is set to YES then in /etc/rc before that
	is honoured a check is made to see if /etc/mail/sendmail.cf
	exists. This check means that if you use an MTA other than
	sendmail (e.g. Postfix) and remove sendmail.cf then the MTA
	will not be started up.	
>How-To-Repeat:
	Remove or rename sendmail.cf on a system with an alternate
	MTA.
>Fix:
	Change check as in the diff below (or remove check altogether).

--- rc.orig	Sat Feb 16 13:52:28 2002
+++ rc	Sat Feb 16 13:58:13 2002
@@ -525,7 +525,7 @@
 	;;
 esac
 
-if [ -r /etc/mail/sendmail.cf ]; then
+if [ -x /usr/sbin/sendmail ]; then
 	case ${sendmail_enable} in
 	[Yy][Ee][Ss])
 		echo -n ' sendmail'

>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?20020216133411.A2810225BC>