From owner-freebsd-questions@FreeBSD.ORG Mon Apr 18 17:06:34 2005 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 3977716A4CE for ; Mon, 18 Apr 2005 17:06:34 +0000 (GMT) Received: from herbert.sohotech.ca (herbert.sohotech.ca [206.116.63.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1BA543D41 for ; Mon, 18 Apr 2005 17:06:33 +0000 (GMT) (envelope-from greg@grokking.org) Received: from localhost (unknown [127.0.0.1]) by herbert.sohotech.ca (Postfix) with ESMTP id 32EAB17BEE3 for ; Mon, 18 Apr 2005 10:06:33 -0700 (PDT) Received: from herbert.sohotech.ca ([127.0.0.1]) by localhost (herbert.sohotech.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17099-05 for ; Mon, 18 Apr 2005 10:06:31 -0700 (PDT) Received: from [192.168.1.6] (chomsky.sohotech.ca [192.168.1.6]) by herbert.sohotech.ca (Postfix) with ESMTP id E396F17BEF1 for ; Mon, 18 Apr 2005 10:06:31 -0700 (PDT) Message-ID: <4263E918.1040800@grokking.org> Date: Mon, 18 Apr 2005 10:06:32 -0700 From: "greg@grokking.org" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4263D567.90102@eigg.org.uk> <4263E39B.1060809@grokking.org> <4263E4BF.6090900@eigg.org.uk> In-Reply-To: <4263E4BF.6090900@eigg.org.uk> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at sohotech.ca Subject: Re: Error making Sendmail with SMTP AUTH 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, 18 Apr 2005 17:06:34 -0000 Nick wrote: > Hi Greg > > $ m make.conf > # -- use.perl generated deltas -- # > # Created: Sat Nov 20 20:42:01 2004 > # Setting to use base perl from ports: > PERL_VER=5.8.5 > PERL_VERSION=5.8.5 > PERL_ARCH=mach > NOPERL=yo > NO_PERL=yo > NO_PERL_WRAPPER=yo > SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=-lsasl > > and > > # cd /usr/src/usr.sbin/sendmail > # make cleandir > # make obj > # make <<< error text generated at this point > # make install > Nick: I haven't used saslv1 in a long time but I used to use sendmail auth on FBSD 5.3 (before recently moving to Postfix) that used SASLv2 with sendmail quite successfully. The following lines are taken verbatim from its /etc/make.conf: SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 I would try removing the old cyrus-sasl first, then use the above lines to tell sendmail to build against saslv2 and then do a complete `make world` if this is practical in your environment. I suspect your problem might stem from some confusion over having both sasl versions on the system. Another possibility is the documentation you took the syntax for make.conf from is incorrect. Maybe someone else on the list can shed more light on this... Hope that helps, G