I havent checked Daniels HOWTO, but the simplest way is to use the rimap mechanism for saslauthd. If dbmail-imapd is running, saslauthd will also work, period.
If you use ldap for dbmail, pam, etc, though you are better off using the ldap mechanism directly (imo, the sasl pam mechanism sucks if your users are in ldap). On debian: postconf -e smtpd_sasl_auth_enable=yes add permit_sasl_authenticated to the list in smtpd_recipient_restrictions cat > /etc/default/saslauthd << EOF START=yes MECHANISMS="rimap -O localhost" EOF restart saslauthd and reload postfix. Done. For LDAP you could use: cat > /etc/default/saslauthd << EOF START=yes MECHANISMS="ldap" EOF cat > /etc/ldap/saslauthd.conf << EOF ldap_servers: ldap://ldapserver.mydomain.com ldap_use_sasl: no ldap_version: 3 ldap_search_base: dc=mydomain,dc=com EOF Daniel Urstöger wrote: > Hi James, > > well you can start with the tutorial I have written here: > > http://kb.gosi.at/content/16/20/en/dbmail-mysql-postfix-smtp-auth-via-sasl2-debian-etch.html > > > but that one doesn´t cover LDAP, still it should give you working SASL > and proper postfix setup. > > greetings, > Daniel > _______________________________________________ > DBmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
