saslauthd with sendmail

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Mar 18 01:26:36 UTC 2006


On 2006-03-17 13:44, Jonathan Horne <freebsd at 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 at 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 at flame /home/build]$



More information about the freebsd-questions mailing list