From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 25 04:00:41 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B88B916A4BF for ; Thu, 25 Sep 2003 04:00:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FEA44017 for ; Thu, 25 Sep 2003 04:00:41 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8PB0eFY050285 for ; Thu, 25 Sep 2003 04:00:40 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8PB0eTd050284; Thu, 25 Sep 2003 04:00:40 -0700 (PDT) (envelope-from gnats) Date: Thu, 25 Sep 2003 04:00:40 -0700 (PDT) Message-Id: <200309251100.h8PB0eTd050284@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Peter Pentchev Subject: Re: conf/57207: sendmail_enable in rc.conf wrong values X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Pentchev List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 11:00:41 -0000 The following reply was made to PR conf/57207; it has been noted by GNATS. From: Peter Pentchev To: Chris Stenton Cc: bug-followup@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@ringlet.net roam@sbnd.net roam@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.