Talk:Complete Virtual Mail Server/SMTP Authentication

Todo
Several things that can be concidered todo for this section. A section to add postgres authentication directly cyrus-sasl, dovecot-sasl, which can be extra interesting when dovecot imap is used instead of cyrus sasl.

Postfix 2.10
Since postfix 2.10 (http://www.postfix.org/announcements/postfix-2.10.0.html), the smtpd_relay_restrictions and the smtpd_recipient_restrictions have been separated. the config should be something like that:


 * smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
 * smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks

I got errors with the above. a better relay_restrictions is https://bugs.gentoo.org/show_bug.cgi?id=482972 though I uncovered a version mismatch bug. As per #cyrus that's wrong. let me paste a copy of what you want http://www.bpaste.net/show/F8vilpQhSSJVci4dXJ1P/ now, that still doesn't address why you're getting a auxprop error +for sql, which will still need to be corrected. with the config you had, your users were authenticating against courier authdaemond doesn't depend on auxprop functionality to be working in your case, libsasl2 has found two auxprop plugins (shared +libraries), called sasldb and sql, but is unable to load either, due to a +version mismatch. it is unable to *initialize* either, due to a version mismatch