From owner-freebsd-stable Wed Oct 3 8: 5:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by hub.freebsd.org (Postfix) with SMTP id 8630437B401 for ; Wed, 3 Oct 2001 08:05:53 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15291.10540.259102.13385@gs166.sp.cs.cmu.edu> Date: Wed, 3 Oct 2001 11:05:16 -0400 To: stable@freebsd.org Subject: confusing sendmail_*enable settings in /etc/defaults/rc.conf X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Dan Pelleg Reply-To: Dan Pelleg Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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