From owner-freebsd-stable@FreeBSD.ORG Wed Aug 7 15:02:28 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 195293C1 for ; Wed, 7 Aug 2013 15:02:28 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A59F2198 for ; Wed, 7 Aug 2013 15:02:27 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r77F2Fvd063274 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 7 Aug 2013 16:02:22 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r77F2Fvd063274 Authentication-Results: smtp.infracaninophile.co.uk/r77F2Fvd063274; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <52026176.40807@freebsd.org> Date: Wed, 07 Aug 2013 16:02:14 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130801 Thunderbird/17.0.7 MIME-Version: 1.0 To: Panagiotis Christias Subject: Re: FreeBSD-Update + Sendmail References: <5200FE0E.8506.5CB69E@lausts.acm.org> <52016A8D.14552.95D18@lausts.acm.org> <52016E15.1020507@FreeBSD.org> <20130807141948.GA78527@noc.ntua.gr> In-Reply-To: <20130807141948.GA78527@noc.ntua.gr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 15:02:28 -0000 On 07/08/2013 15:19, Panagiotis Christias wrote: > On Tue, Aug 06, 2013 at 10:43:49PM +0100, Matthew Seaman wrote: >> On 06/08/2013 22:28, Thomas Laus wrote: >>> I like the 'sendmail from ports' suggestion a little better. Going this >>> route, I only need to make configuration changes to /etc/mail/mailer.conf >>> once. All subsequent freebsd-update operations won't require rebuilding >>> sendmail and it's tools. Any updates to the port version are covered by the >>> normal port update system. Future updates to the port version only require a >>> 'make restart' in the /etc/mail directory after reviewing my .mc file for any >>> affected changes. >> >> If you're using the ports version of sendmail, a handy tip is to add >> this to /etc/make.conf: >> >> SENDMAIL_CF_DIR= /usr/local/share/sendmail/cf >> MAKEMAP= /usr/local/sbin/makemap >> >> so you use a version of the sendmail M4 config bits that matches the >> sendmail binary you're running, and you can use /etc/mail/Makefile to >> generate and install the configs exactly as if you were using the base >> system sendmail. > > > Indeed, plus: > > SENDMAIL=/usr/local/sbin/sendmail > > And in /etc/rc.conf: > > sendmail_program="/usr/local/sbin/sendmail" /etc/mail/mailer.conf does that bit for you. Cheers, Matthew