From nobody@FreeBSD.org  Mon Aug  5 20:01:09 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B007A37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Aug 2002 20:01:09 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 74E0843E4A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Aug 2002 20:01:09 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g76319OT048734
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 5 Aug 2002 20:01:09 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g76319Pw048733;
	Mon, 5 Aug 2002 20:01:09 -0700 (PDT)
Message-Id: <200208060301.g76319Pw048733@www.freebsd.org>
Date: Mon, 5 Aug 2002 20:01:09 -0700 (PDT)
From: Evan Reisman <ebreis@optonline.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Case statement in "start_mta()" function in rc.sendmail conflicts with rc.conf
X-Send-Pr-Version: www-1.0

>Number:         41365
>Category:       misc
>Synopsis:       Case statement in "start_mta()" function in rc.sendmail conflicts with rc.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 20:10:01 PDT 2002
>Closed-Date:    Thu Aug 08 22:59:13 PDT 2002
>Last-Modified:  Thu Aug 08 22:59:13 PDT 2002
>Originator:     Evan Reisman
>Release:        4.6
>Organization:
>Environment:
N/A
>Description:
      The case statement in the start_mta() and start_mspq() functions in rc.sendmail requires the condition [Nn][Oo][Nn][Ee] instead of the condition [Nn][Oo] which is established during the install in rc.conf.  Thus, sendmail starts even if configure as sendmail_enable="NO'' in rc.conf.  In the case of a machine that does not have a domain name, the startup hangs while sendmail tries to resolve name - must press control-c to pass hangup.
>How-To-Repeat:
      N/A
>Fix:
      Change both case statements in the functions to act on the condition [Nn][Oo] instead of [Nn][Oo][Nn][Ee]
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cjc 
State-Changed-When: Thu Aug 8 22:55:12 PDT 2002 
State-Changed-Why:  
This is the desired behavior. It is well documented. See the _long_ 
threads on various mailing lists discussing the change, see UPDATING 
(the 20020404 entry), see rc.sendmail(8), etc. 

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