minor bug sendmail_enable in /etc/defaults/rc.conf
Federico Galvez-Durand Besnard
Federico.Besnard at bluewin.ch
Wed Nov 24 09:26:09 PST 2004
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)
More information about the freebsd-bugs
mailing list