Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2008 23:00:39 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Gilles <gilles.ganault@free.fr>
Subject:   Re: [6.3] How are those daemons started?
Message-ID:  <200803312300.40087.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <e5i2v35olubmp3inroqqoc7fm1stsmkuh5@4ax.com>
References:  <vke2v3h9m7h709d684m23tk8cnm3tagejb@4ax.com> <20080331200620.GA75067@aleph.cepheid.org> <e5i2v35olubmp3inroqqoc7fm1stsmkuh5@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 31 March 2008 22:27:55 Gilles wrote:
> On Mon, 31 Mar 2008 15:06:20 -0500, Erik Osterholm
>
> <freebsd-lists-erik@erikosterholm.org> 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.
I guess it's legacy that MTA's start their SMTP listener by default.
You can set sendmail_enable="NO" in /etc/rc.conf to disable the listener. If 
you set it to "NONE" sendmail will be totally off and all mail from daemons 
invoking /usr/sbin/sendmail will end up in /var/spool/mqueue without being 
processed further.

If you choose to go with the "NO" option, be sure to read and 
update /etc/aliases. The difference between mail stacking up 
in /var/spool/mqueue or /var/mail is only the packaging.

Informative reading: newaliases(8), crontab(5) and periodic(8).
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803312300.40087.fbsd.questions>