From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 17:23:21 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 E07BD106564A for ; Wed, 2 Apr 2008 17:23:21 +0000 (UTC) (envelope-from fbsd06+UT=6da76847@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by mx1.freebsd.org (Postfix) with ESMTP id B39178FC1F for ; Wed, 2 Apr 2008 17:23:21 +0000 (UTC) (envelope-from fbsd06+UT=6da76847@mlists.homeunix.com) 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 A0F2AD059F for ; Wed, 2 Apr 2008 13:23:20 -0400 (EDT) Date: Wed, 2 Apr 2008 18:23:17 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080402182317.29762131@gumby.homeunix.com.> In-Reply-To: <200803312300.40087.fbsd.questions@rachie.is-a-geek.net> References: <20080331200620.GA75067@aleph.cepheid.org> <200803312300.40087.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [6.3] How are those daemons started? 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: Wed, 02 Apr 2008 17:23:22 -0000 On Mon, 31 Mar 2008 23:00:39 +0200 Mel wrote: > On Monday 31 March 2008 22:27:55 Gilles wrote: > > On Mon, 31 Mar 2008 15:06:20 -0500, Erik Osterholm > > > > wrote: > > >Also note /etc/defaults/rc.conf which is /why/ these services > > >are on by default. Entries in /etc/rc.conf override entries in > > >/etc/defaults/rc.conf, so you should never change > > >/etc/defaults/rc.conf. > > > > Thanks guys. After reading /etc/defaults/rc.conf, I understood that > > the reason there's sendmail listening on TCP25 is so that local > > daemons can send e-mail to the admin. > > Somewhat. Most daemons can do fine without the socket listener and > invoke /usr/sbin/sendmail by default. Only ones that can't get > to /usr/sbin/sendmail (i.e.: chrooted daemons), but in my experience > they don't know how to talk SMTP either. As I understand it, modern versions of /usr/sbin/sendmail are just a frontend to the socket, so that they don't need to run setuid.