From owner-freebsd-bugs Mon Jun 17 21:51:52 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 94C4B37B412 for ; Mon, 17 Jun 2002 21:51:48 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5I4o4221988; Mon, 17 Jun 2002 21:50:04 -0700 (PDT) (envelope-from gnats) Date: Mon, 17 Jun 2002 21:50:04 -0700 (PDT) Message-Id: <200206180450.g5I4o4221988@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: conf/39444: rc.sendmail syntax error: cannot disable sendmail Reply-To: "Crist J. Clark" 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 The following reply was made to PR conf/39444; it has been noted by GNATS. From: "Crist J. Clark" To: j_guojun@lbl.gov Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/39444: rc.sendmail syntax error: cannot disable sendmail Date: Mon, 17 Jun 2002 21:42:51 -0700 On Mon, Jun 17, 2002 at 03:00:31PM -0700, Jin Guojun wrote: [snip] > /etc/defaults/rc.conf says: > sendmail_enable="YES" # Run the sendmail inbound daemon (YES/NO/NONE). > > > /etc/rc.sendmail does: (only working for NONE, but not NO) > > case ${sendmail_enable} in > [Nn][Oo][Nn][Ee]) > > > The correct syntax is: > > case ${sendmail_enable} in > [Nn][Oo][Nn][Ee] | [Nn][Oo]) > > > If No/NO/no/nO cannot be used, please state so. But, this is not a usual way > to disable something. > So, please apply the patch to rc.sendmail. "NO" _can_ be used. It's meaning is different than "NONE." "NO" means not to run the sendmail(8) listener, but the submitting and 'outbound' daemons can still be run. See rc.sendmail(8) for details. If you feel the documentation is lacking, please submit a new PR with your ideas for improvements, but the code works as desired. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message