Date: Sat, 13 Feb 2010 15:40:04 GMT From: Markus Hitter <mah@jump-ing.de> To: freebsd-rc@FreeBSD.org Subject: Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE Message-ID: <201002131540.o1DFe4UX083459@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/143851; it has been noted by GNATS. From: Markus Hitter <mah@jump-ing.de> To: bug-followup@FreeBSD.org, mah@jump-ing.de Cc: Subject: Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE Date: Sat, 13 Feb 2010 16:05:13 +0100 --=-ywTpx/vr0wFCqMjxhEQE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Glen Barber kindly explained what's going on: > In rc.conf, sendmail="NO" allows outbound-only mail. > sendmail="NONE" tells sendmail not to send mail out at all. > > sendmail="NO" is useful when sending system mail out is > necessary, but the machine is not intended to receive mail. Apparently, the comment in line 510 in /etc/defaults/rc.conf has room for improvement. It should mention all three instead of only two options. I've added a new patch and hope this can be applied to FreeBSD 8 & 9 as well. --=-ywTpx/vr0wFCqMjxhEQE Content-Disposition: attachment; filename="rc.conf.diff" Content-Type: text/x-patch; name="rc.conf.diff"; charset="UTF-8" Content-Transfer-Encoding: 7bit --- /etc/defaults/rc.conf 2009-01-30 18:35:32.000000000 +0200 +++ /etc/defaults/rc.conf.patched 2010-02-13 14:58:05.000000000 +0200 @@ -507,7 +507,8 @@ mta_start_script="/etc/rc.sendmail" # Script to start your chosen MTA, called by /etc/rc. # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail: -sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). +sendmail_enable="NO" # Run the sendmail daemon: + # YES=inbound+outbound, NO=outbound only, NONE=neither. sendmail_pidfile="/var/run/sendmail.pid" # sendmail pid file sendmail_procname="/usr/sbin/sendmail" # sendmail process name sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) --=-ywTpx/vr0wFCqMjxhEQE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002131540.o1DFe4UX083459>