From owner-freebsd-questions@FreeBSD.ORG Sat Mar 18 01:26:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B32DF16A401 for ; Sat, 18 Mar 2006 01:26:36 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0773043D46 for ; Sat, 18 Mar 2006 01:26:35 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (igloo.linux.gr [62.1.205.36]) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k2I1Pvwk011664; Sat, 18 Mar 2006 03:26:01 +0200 Received: by flame.pc (Postfix, from userid 1001) id 723C47D; Fri, 17 Mar 2006 15:42:19 -0800 (PST) Date: Fri, 17 Mar 2006 15:42:19 -0800 From: Giorgos Keramidas To: Jonathan Horne Message-ID: <20060317234219.GD24410@flame.pc> References: <200603171944.k2HJiMbv022624@zeus.int.dfwlp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603171944.k2HJiMbv022624@zeus.int.dfwlp.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.494, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.05, BAYES_20 -0.74) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: freebsd-questions@freebsd.org Subject: Re: saslauthd with sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 01:26:36 -0000 On 2006-03-17 13:44, Jonathan Horne wrote: > Warning: Option: AuthMechanisms requires SASL support (-DSASL) > > I also get that last warning line when sendmail starts too. Ive tried > pkg_install sendmail+tls+sasl2+ldap, then sendmail+tls+sasl2, then even > sendmail and cyrus-sasl-saslauthd. Same thing as above. Still complains of > no SASL. Then ive tried using ports. > > cd /usr/ports/security/sasl2 > > make install distclean > > cd /usr/ports/security/sasl2-saslauthd > > make install distclean > > then, > > cd /usr/src/lib/libsm > make obj && make depend && make > cd /usr/src/lib/libsmutil > make obj && make depend && make > cd /usr/src/usr.sbin/sendmail > make obj && make depend && make && make install > > and always, with each attempt, I have the proper lines in /etc/rc.conf, such > as saslauthd_enable="YES", and the make.conf contains: Probably not very helpful for the saslauthd problems, but... I usually run the following script *two* times to rebuild Sendmail when cyrus-sasl is updated: % [keramida@flame /home/build]$ cat -n rebuild-sendmail.sh % 1 #!/bin/sh % 2 % 3 DIRS="" % 4 DIRS="${DIRS} ./bin/rmail" % 5 DIRS="${DIRS} ./lib/libmilter" % 6 DIRS="${DIRS} ./lib/libsm" % 7 DIRS="${DIRS} ./lib/libsmdb" % 8 DIRS="${DIRS} ./lib/libsmutil" % 9 DIRS="${DIRS} ./libexec/mail.local" % 10 DIRS="${DIRS} ./libexec/smrsh" % 11 DIRS="${DIRS} ./usr.bin/vacation" % 12 DIRS="${DIRS} ./usr.sbin/editmap" % 13 DIRS="${DIRS} ./usr.sbin/mailstats" % 14 DIRS="${DIRS} ./usr.sbin/makemap" % 15 DIRS="${DIRS} ./usr.sbin/praliases" % 16 DIRS="${DIRS} ./usr.sbin/sendmail" % 17 % 18 export MAKEOBJDIRPREFIX=/home/build/obj % 19 % 20 for dname in ${DIRS} ; do % 21 ( cd "${dname}" && \ % 22 make cleandir && make cleandir && make obj && \ % 23 make && make install ) % 24 if test $? -ne 0 ; then % 25 echo "" % 26 echo ">>> FAILED while rebuilding ${dname}" % 27 exit 1 % 28 fi % 29 done % [keramida@flame /home/build]$