From owner-freebsd-stable@FreeBSD.ORG Tue Aug 6 21:28:46 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D440A9FF for ; Tue, 6 Aug 2013 21:28:46 +0000 (UTC) (envelope-from lausts@acm.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 976E8264D for ; Tue, 6 Aug 2013 21:28:46 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=e9yEuNV/ c=1 sm=0 a=xRdgvQXv5AerPAHtJUV3Bw==:17 a=i3v0hNX2wH8A:10 a=kWQ6D_09QQAA:10 a=kHc8Q_KJ-KsA:10 a=N54-gffFAAAA:8 a=KGjhK52YXX0A:10 a=M43duC95k9sA:10 a=bJzdTrdgvzwysgaonzgA:9 a=xRdgvQXv5AerPAHtJUV3Bw==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 184.58.98.36 Received: from [184.58.98.36] ([184.58.98.36:63352] helo=mail.laus.org) by hrndva-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id B4/0D-18705-D8A61025; Tue, 06 Aug 2013 21:28:45 +0000 Received: from [192.168.1.100] (laust2 [192.168.1.100]) by mail.laus.org (8.14.7/8.14.7) with ESMTP id r76LSi4B001420 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Tue, 6 Aug 2013 17:28:44 -0400 (EDT) (envelope-from lausts@acm.org) X-Authentication-Warning: mail.laus.org: Host laust2 [192.168.1.100] claimed to be [192.168.1.100] From: "Thomas Laus" Organization: ABB To: Ted Hatfield , freebsd-stable@freebsd.org Date: Tue, 06 Aug 2013 17:28:45 -0400 Subject: Re: FreeBSD-Update + Sendmail Message-ID: <52016A8D.14552.95D18@lausts.acm.org> Priority: normal In-reply-to: References: <5200FE0E.8506.5CB69E@lausts.acm.org>, X-mailer: Pegasus Mail for Windows (4.63) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lausts@acm.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2013 21:28:46 -0000 > > I have been updating my FreeBSD systems for many years by updating and > > building from source. For the FreeBSD 9.2 cycle, I decided to use > > freebsd-update for binary update instead. I use Sendmail + Cyrus-SASL and > > the freebsd-update process only installed a 'bare bones' binary. How do I > > compile just Sendmail from source so that it uses my /etc/make.conf for the > > smtp_auth components? Is there a freebsd-update.conf flag to perform this > > task? > > I too have been updating my systems by updating and building from source. To > recompile and install sendmail from the /usr/src tree you can run these > commands. > > cd /usr/src/lib/libsm; make clean; make obj; make depend; make > cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make > cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make > install > > This procedure will follow all the /etc/make.conf arguments. > 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. Thanks for the alternate procedure. I'll save it for future reference and it may prove useful someday. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF