Thu, 28 Jan 2010

Configuring saslauthd


Keywords: ubuntu postfix saslauthd

Configuring saslauth with Ubuntu 9.10 required making /etc/postfix/sasl/smtpd.conf look like:

pwcheck_method: saslauthd
mech_list: plain login
saslauthd_path: /var/run/saslauthd/mux

The important missing part that I couldn't find in any tutorials or instructions is the /mux on the end of the saslauthd_path.

I also needed to add the following parts to /etc/postfix/main.cf:

smtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtp_use_tls = yes

[/unix] permanent link




November 2022
Sun Mon Tue Wed Thu Fri Sat