sendmail && sasl

From: Matthias Apitz <guru_at_unixarea.de>
Date: Tue, 1 Dec 2015 16:58:25 +0100
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
Received on Tue Dec 01 2015 - 14:58:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC