[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Authenticated SMTP using CYRUS SASL and MD5 crypted password on MySQL



Rocco Scappatura wrote:

> password are stored in mailbox table in MD5 format.

I've no idea what that is, is it the weird format 
starting with $apr1$ or $1$ ?  With AUTH PLAIN 
<off topic="sasl"> and AUTH LOGIN </off> you get
or send passwords as plain text, as the name says.

> AUTH PLAIN AGRlYnVnAGRlYnVn
> 535 5.7.8 Error: authentication failed: authentication failure

The server isn't supposed to offer PLAIN outside of 
TLS, and if it offers PLAIN anyway the client isn't
supposed to use it.  

<off topic="sasl"> Try AUTH LOGIN </off>, see also
<http://www.technoids.org/saslmech.html>.  If that
also fails the issue might be your "MD5 format" (?)

Maybe test the part after the third "$" instead of
"debug" for the $apr1$whatever$wannabecrypt format.

 Frank