Date: Fri, 17 Mar 2006 15:42:19 -0800 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Jonathan Horne <freebsd@dfwlp.com> Cc: freebsd-questions@freebsd.org Subject: Re: saslauthd with sendmail Message-ID: <20060317234219.GD24410@flame.pc> In-Reply-To: <200603171944.k2HJiMbv022624@zeus.int.dfwlp.com> References: <200603171944.k2HJiMbv022624@zeus.int.dfwlp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-03-17 13:44, Jonathan Horne <freebsd@dfwlp.com> 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]$
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060317234219.GD24410>