From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 12:28:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BF41065687 for ; Sun, 28 Sep 2008 12:28:07 +0000 (UTC) (envelope-from fbsd06+2G=0b6e6657@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1318FC14 for ; Sun, 28 Sep 2008 12:28:06 +0000 (UTC) (envelope-from fbsd06+2G=0b6e6657@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 4C027163DFE for ; Sun, 28 Sep 2008 08:11:08 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7BFF923E3FB for ; Sun, 28 Sep 2008 08:11:06 -0400 (EDT) Date: Sun, 28 Sep 2008 13:11:03 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080928131103.5eaaf06e@gumby.homeunix.com.> In-Reply-To: <20080928022040.GC36499@shepherd> References: <340a29540809271827r57503ca7o9f8916a7d5fade8@mail.gmail.com> <20080928022040.GC36499@shepherd> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: The consequences of turning off sendmail 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: Sun, 28 Sep 2008 12:28:07 -0000 On Sat, 27 Sep 2008 22:20:40 -0400 Sahil Tandon wrote: > Andrew Falanga wrote: > > You can turn off the Sendmail daemon so that it does not actually > listen for incoming connections or act as an MTA in the conventional > sense. But local utilities like cron can still invoke > the /usr/sbin/sendmail command to send you notifications. > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html > The default for sendmail is: sendmail_enable="NO sendmail_submit_enable="YES" which has the sendmail daemon listening only on localhost. It's fully functional in all respects except that it can't be accessed from outside. You can use localhost:25 as an outgoing mail server if you wish. Turning-off the localhost daemon altogether and having /usr/sbin/sendmail deliver local mail directly is possible, but it's deprecated on security grounds as it needs to run setuid.