sendmail && sasl
Matthias Apitz
guru at unixarea.de
Tue Dec 1 15:58:39 UTC 2015
Hello,
I have always compiled sendmail for sasl the following way:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
- install port security/cyrus-sasl2
- config line in /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd
- install port security/cyrus-sasl2-saslauthd,
- edit /etc/rc.conf:
saslauthd_enable="YES"
- restart daemon with
# /usr/local/etc/rc.d/saslauthd start
- recompile sendmail with /etc/make.conf set to
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# cd /usr/src/lib/libsmutil
# make cleandir && make obj && make
# cd /usr/src/lib/libsm
# make cleandir && make obj && make
# cd /usr/src/usr.sbin/sendmail
# make cleandir && make obj && make && make install
...
But now on r285885 it is unwilling to start with:
# /etc/rc.d/sendmail restart
sendmail not running? (check /var/run/sendmail.pid).
Starting sendmail.
421 4.0.0 sasl_server_init failed! [generic failure]
Any idea what I'm missing?
Thanks
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045
More information about the freebsd-current
mailing list