From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 01:24:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24B6816A401 for ; Thu, 27 Apr 2006 01:24:48 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9958D43D46 for ; Thu, 27 Apr 2006 01:24:47 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-251-44.pittpa.adelphia.net [24.53.251.44]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 26 Apr 2006 21:24:46 -0400 id 00056415.44501D5E.0000DDBC Date: Wed, 26 Apr 2006 21:24:45 -0400 From: Bill Moran To: applecom@inbox.ru Message-Id: <20060426212445.00d3f1e8.wmoran@collaborativefusion.com> In-Reply-To: <4450132C.2050401@inbox.ru> References: <4450132C.2050401@inbox.ru> Organization: Collaborative Fusion X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: sendmail_enable in rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 01:24:48 -0000 applecom@inbox.ru wrote: > I have FreeBSD 6.0-RELEASE. > It seems there is collision between /etc/defaults/rc.conf and > /etc/rc.sendmail in sendmail startup control. > In /etc/defaults/rc.conf: > sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). > In /etc/rc.sendmail: > "<...> > start_mta() > { > case ${sendmail_enable} in > [Nn][Oo][Nn][Ee]) > ;; > <...>". > So sendmail doesn't startup during system startup only if there is > "sendmail_enable="NONE"" in /etc/rc.conf. > Maybe I don't understand something? >From "man rc.sendmail": sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. There is additional information in that man page about how to further tweak sendmail's startup. Recommended reading. -- Bill Moran Potential Technologies http://www.potentialtech.com