From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 01:55:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8EFFA571 for ; Sun, 6 Jan 2013 01:55:17 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5E4DDF for ; Sun, 6 Jan 2013 01:55:16 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id r061tBrl068430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Jan 2013 19:55:11 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id r061tBeG049752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Jan 2013 19:55:11 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.6/8.14.5/Submit) id r061tB50049751; Sat, 5 Jan 2013 19:55:11 -0600 (CST) (envelope-from dan) Date: Sat, 5 Jan 2013 19:55:11 -0600 From: Dan Nelson To: Robert Huff Subject: Re: update to SASL breaks sendmail Message-ID: <20130106015511.GK39280@dan.emsphone.com> References: <20712.51723.379002.572170@jerusalem.litteratus.org> <20130106013059.GJ39280@dan.emsphone.com> <50E8D6E9.9070608@rcn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50E8D6E9.9070608@rcn.com> X-OS: FreeBSD 8.3-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Sat, 05 Jan 2013 19:55:11 -0600 (CST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 01:55:17 -0000 In the last episode (Jan 05), Robert Huff said: > On 1/5/2013 8:30 PM, Dan Nelson wrote: > > In the last episode (Jan 05), Robert Huff said: > > >> This morning I updated cyrus-sasl to the latest version, which > >> bumps the library version from ".2" to ",3". This appears to break > >> sendmail in at least two places. > >> > >> I have added a mapping in libmap.conf ... which seems to work > >> ... but I'm pretty sure that's Not The Right Thing. > >> What is? > > > > Rebuild sendmail so that it links against the updated sasl libraries, or > > make sure to preserve old shared libraries when upgrading packages. > > I know how to build world; what is the correct way of > building/installing just sendmail and making sure I get the right > libraries? (The information in > /usr/ports/security/cyrus-sasl/files/Sendmail.readme doesn't appear to > apply.) Base sendmail doesn't link with sasl by default. If you had edited Makefiles or make.conf to enable that, running "make clean all install clean" in /usr/src/usr.sbin/sendmail/ should build and install just the new sendmail. Or, if you had installed the mail/sendmail port with sasl enabled, force-upgrade that port using your favorite method. -- Dan Nelson dnelson@allantgroup.com