Date: Mon, 17 Jun 2002 21:50:04 -0700 (PDT) From: "Crist J. Clark" <crist.clark@attbi.com> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/39444: rc.sendmail syntax error: cannot disable sendmail Message-ID: <200206180450.g5I4o4221988@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/39444; it has been noted by GNATS.
From: "Crist J. Clark" <crist.clark@attbi.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206180450.g5I4o4221988>
