My mail server is running smoothly at the moment but for a while I have had some thoughts about adding SASL support to my setup. I have read that you need to rebuild Sendmail to be able to add SASL support.
In Michael W. Lucas's excellent book "Absolute FreeBSD" he recommends installing the Sendmail port with the following custom options:
But if I read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html they recommend installing the ports:
and then running:
If I were going to install a new fresh installation then I would have chosen whatever of the two above alternatives but now I´m going to add it to an already running system. Which of the two alternatives is the best to avail to an already running setup? I don't want to mess too much with my current setup. (I´m mostly thinking about current configuration files).
My setup:
In Michael W. Lucas's excellent book "Absolute FreeBSD" he recommends installing the Sendmail port with the following custom options:
Code:
/usr/ports/mail/sendmail
make SENDMAIL_WITH_SASL2=YES all install clean
But if I read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html they recommend installing the ports:
Code:
security/cyrus-sasl2
security/cyrus-sasl2-saslauthd
and then running:
Code:
# 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
If I were going to install a new fresh installation then I would have chosen whatever of the two above alternatives but now I´m going to add it to an already running system. Which of the two alternatives is the best to avail to an already running setup? I don't want to mess too much with my current setup. (I´m mostly thinking about current configuration files).
My setup:
Code:
FreeBSD 8.2-RELEASE-p3
dovecot-1.2.17
sendmail 8.14.4