Postfix SMTP auth doesn't work with cyrus-sasl 2.1.25

Alexey Melnikov alexey.melnikov at isode.com
Fri Jan 6 08:19:27 EST 2012


Hi,

On 06/01/2012 00:00, Quanah Gibson-Mount wrote:
> I'm curious if anyone has tested Postfix SMTP auth in conjunction with 
> Cyrus-SASL 2.1.25.  My testing shows that when used linked to 
> Cyrus-SASL 2.1.25, SMTP auth fails with an unknown mechanism error.  
> Downgrading to Cyrus-SASL 2.1.23 with the exact same configuration and 
> build parameters works as expected.
>
> My guess is this is an bug with Cyrus-SASL 2.1.25, however it is 
> entirely possible there are API changes in 2.1.25 that Postfix needs 
> to be adjusted for.  I guess consider this a general heads up, and if 
> anyone has gotten it to work, I'd love to know that. ;)
>
> A 2.1.25 linked Postfix always complains about no available mechanism:
>
> openssl s_client -connect zqa-062.eng.vmware.com:25 -starttls smtp 
> -cipher AES128-SHA -crlf
> EHLO foo.com
> 250-zqa-062.eng.vmware.com
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-AUTH PLAIN LOGIN
> 250-AUTH=PLAIN LOGIN
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250 DSN
> AUTH LOGIN
> 334 VXNlcm5hbWU6
> YWRtaW4tMDYyLmVuZy52bXdhcmUuY29t
> 334 UGFzc3dvcmQ6
> <encodedpasswordhere>
> 535 5.7.8 Error: authentication failed: no mechanism available

Are you using SASLDB auxprop plugin for authentication? The default 
location of SASLDB file might have changed between the 2 versions.



More information about the Cyrus-sasl mailing list