conf/57207: sendmail_enable in rc.conf wrong values
Peter Pentchev
roam at ringlet.net
Thu Sep 25 04:00:41 PDT 2003
The following reply was made to PR conf/57207; it has been noted by GNATS.
From: Peter Pentchev <roam at ringlet.net>
To: Chris Stenton <jacs at gnome.co.uk>
Cc: bug-followup at FreeBSD.org
Subject: Re: conf/57207: sendmail_enable in rc.conf wrong values
Date: Thu, 25 Sep 2003 13:59:57 +0300
On Thu, Sep 25, 2003 at 11:22:56AM +0100, Chris Stenton wrote:
>
> >Number: 57207
> >Category: conf
> >Synopsis: sendmail_enable in rc.conf wrong values
> >Originator: Chris Stenton
> >Release: FreeBSD 5.1-RELEASE-p6 i386
> >Environment:
> System: FreeBSD hawk.gnome.co.uk 5.1-RELEASE-p6 FreeBSD 5.1-RELEASE-p6 #2: Wed Sep 24 12:17:20 BST 2003 root@:/usr/obj/usr/src/sys/GNOME i386
>
> >Description:
> sendmail_enable in rc.conf is documented as YES/NO but
> rc.sendmail expects NONE/YES
Actually, I do not think this is strictly true. While
sendmail_enable="NONE" does indeed stop *all* Sendmail-related services
from starting, sendmail_enable="NO" is a valid and useful setting - it
disables the part of Sendmail that listens for incoming SMTP
connections, while still allowing the administrator to run other
Sendmail services, controlled by the sendmail_outbound_enable and
sendmail_submit_enable knobs. This is particularly useful for a home
machine with no local mailserver, no local mailboxes, but still a need
to route outgoing e-mail: the Sendmail submit service can accept
messages and relay them to e.g. the ISP's mail server for actual
delivery.
By the way, if getting rid of Sendmail is your goal, then
sendmail_enable="NONE", while working, is not the best solution.
sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
setting, and you can easily disable even loading rc.sendmail by setting
the mta_startup_script knob to an empty string ("").
G'luck,
Peter
--
Peter Pentchev roam at ringlet.net roam at sbnd.net roam at FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
This inert sentence is my body, but my soul is alive, dancing in the sparks of your brain.
More information about the freebsd-bugs
mailing list