From owner-freebsd-bugs Sat Feb 16 5:40:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA4CA37B402 for ; Sat, 16 Feb 2002 05:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1GDe1f46501; Sat, 16 Feb 2002 05:40:01 -0800 (PST) (envelope-from gnats) Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 0CCFC37B41B for ; Sat, 16 Feb 2002 05:34:14 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16c4yi-0002FN-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 16 Feb 2002 13:34:12 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id B1F3A13040 for ; Sat, 16 Feb 2002 14:34:11 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 0) id A2810225BC; Sat, 16 Feb 2002 14:34:11 +0100 (CET) Message-Id: <20020216133411.A2810225BC@angel.raggedclown.net> Date: Sat, 16 Feb 2002 14:34:11 +0100 (CET) From: "toor@angel" Reply-To: "toor@angel" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: conf/34993: Inappropriate check for starting sendmail in /etc/rc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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