I'm trying to get SASL auth working in Postfix via LDAP. I've compiled SASL from source and added LDAP support.
I'm able to auth to sasl daemon using the test utility, however I get the following error when attempting auth using an SMTP client:
Code:
postfix/smtpd: warning: SASL authentication failure: Could not open db
Here is the appropriate configs:
main.cf:
Code:
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smmtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_path = /usr/local/lib/sasl2/smtpd
smtp_sasl_auth_enable = no
smtpd.conf
Code:
pwcheck_method: saslauthd
mech_list: login
authdaemond_path: /var/run/sasl2/mux