Date: Wed, 3 Oct 2001 11:05:16 -0400 From: Dan Pelleg <peldan@yahoo.com> To: stable@freebsd.org Subject: confusing sendmail_*enable settings in /etc/defaults/rc.conf Message-ID: <15291.10540.259102.13385@gs166.sp.cs.cmu.edu>
next in thread | raw e-mail | index | archive | help
After installing a 4.4-RELEASE machine I was surprised to notice sendmail was accepting connections. Apparently, if you choose the "medium" security profile and then edit rc.conf to enable the sendmail_outbound* variables, you're not running in outbound-only mode. A quick look in /etc/rc reveals that sendmail_enable takes precedence over sendmail_outbound_enable. Since sendmail_enable is YES in /etc/defaults/rc.conf, you have to first set it to NO if you want to use sendmail_outbound. That seems confusing. Doesn't it make more sense to either unify the flags and kill sendmail_outbound (so there'll be a commented line in /etc/defaults/rc.conf along the lines of: # sendmail_flags="-q30m" # use this for outbound sendmail ? Alternatively, we can make /etc/rc consider both sendmail_enable and sendmail_outbound_enable and warn if there's a conflict. Or even allow sendmail_enable to take on a new value, say "OUTBOUND". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15291.10540.259102.13385>