From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 09:09:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FF8316A4B3 for ; Mon, 29 Sep 2003 09:09:58 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBAB143F93 for ; Mon, 29 Sep 2003 09:09:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h8TG9Cfs027066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Sep 2003 17:09:42 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h8TG9Cfr027065; Mon, 29 Sep 2003 17:09:12 +0100 (BST) (envelope-from matthew) Date: Mon, 29 Sep 2003 17:09:12 +0100 From: Matthew Seaman To: "Andrew L. Gould" Message-ID: <20030929160912.GA26758@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Andrew L. Gould" , darryl@osborne-ind.com, freebsd-questions@freebsd.org References: <061901c38695$4693b440$0701a8c0@darryl> <200309290939.57566.algould@datawok.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <200309290939.57566.algould@datawok.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Post Installation Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 16:09:58 -0000 X-List-Received-Date: Mon, 29 Sep 2003 16:09:58 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 29, 2003 at 09:39:57AM -0500, Andrew L. Gould wrote: > On Monday 29 September 2003 09:23 am, Darryl Hoar wrote: > > 2. How do I totally get sendmail shutdown ? >=20 > In /etc/rc.conf, try sendmail_enable=3D"NO". Uh, for *total* elimination of sendmail under 4.x it's: sendmail_enable=3D"NONE" as the OP first thought. This prevents any sendmail(8) daemon processes from being started up, but you'll still see error messages about trying to find the fully qualified name of the machine if anything tries to send any e-mail, which generally involves firing up sendmail. With sendmail_enable=3D"NONE", the e-mail won't get properly delivered, but will just pile up in /var/spool/mqueue until you run 'sendmail -q' to flush the queue. Nb. In the default "out of box" configuration of FreeBSD you're going to get at least two messages every night from the periodic(8) script run, which you can suppress by adjusting things in /etc/periodic.conf -- see periodic.conf(5) for details. There's probably other things that will generate e-mails too, but you'll just have to track down and eliminate those individually if you truely want a machine without any e-mail activity at all. You can also set NO_SENDMAIL=3D"yes" in /etc/make.conf to avoid even building sendmail when you update the system, although this won't actually get rid of the sendmail stuff that's already installed. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/eFkodtESqEQa7a0RAi6BAKCLO2Kbmucq9UC8nuulTZA/M1zVqQCfRDnl MfdEZF402ddwHN6BJNQkCJo= =py2U -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--