Date: Wed, 24 Nov 2004 18:26:01 +0100 From: Federico Galvez-Durand Besnard <Federico.Besnard@bluewin.ch> To: freebsd-bugs@freebsd.org Subject: minor bug sendmail_enable in /etc/defaults/rc.conf Message-ID: <41A4C429.2020401@bluewin.ch>
next in thread | raw e-mail | index | archive | help
Hello, this problem has been solved more than once, but it comes back again, from time to time. In /etc/defaults/rc.conf options for sendmail_enable are (YES/NO). However in /etc/rc.sendmail the case is build up with (YES/NONE) options. So you cannot avoid sendmail from running using sendmail_enable in rc.conf with the NO option. It has to be NONE. As it is easier to patch /etc/defaults/rc.conf, here's the diff file: *** rc.conf.orig Wed Nov 24 18:07:27 2004 --- rc.conf Wed Nov 24 18:10:16 2004 *************** *** 397,403 **** 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_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) --- 397,403 ---- 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="NONE" # Run the sendmail inbound daemon (YES/NONE). 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A4C429.2020401>