On Tue, May 18, 2010 at 05:44:43PM +0200, Julien Vehent wrote: > I want to set up SASL authentication using LDAPDB, but it seems that > postfix connects to LDAP but doesn't send anything to it... > > I try to authenticate using 'auth plain <base64>', and I receive : > > 535 5.7.8 Error: authentication failed: authentication failure
Is the LDAP library linked into Postfix compiled with Cyrus SASL support? The "ldapdb" auxprop plugin needs an LDAP library that can do SASL binds. If your LDAP library is not SASL (rather than simple bind) enabled, this may not work. Take a look at the "Notes LDAPDB auxprop options" section of: http://www.sendmail.org/~ca/email/cyrus2/options.html for additional LDAP server-side requirements. -- Viktor. P.S. Morgan Stanley is looking for a New York City based, Senior Unix system/email administrator to architect and sustain our perimeter email environment. If you are interested, please drop me a note.