I config postfix+mysql+dovecot for SASL SMTP autentication. It works if set: default_pass_scheme = PLAIN and store plain-text password in mysql I'm change default_pass_scheme = PLAIN with default_pass_scheme = PLAIN-MD5 an store password in mysql with md5('passwd') and dovecotpw -s PLAIN-MD5 -p test {PLAIN-MD5} and md5("test") = 098f6bcd4621d373cade4e832627b4f6 but don't work: Jan 24 13:02:31 domain postfix/smtpd[18461]: connect from [x.x.x.x] Jan 24 13:02:37 domine dovecot: auth-worker(default): mysql: Connected to localhost (mail_info) Jan 24 13:02:39 domain postfix/smtpd[18461]: warning: [x.x.x.x]: SASL CRAM-MD5 authentication failed: PDI3Nac3ODA2NjQ0Njg4MzMuMTE2OTY0Mzc1N0BrbHVnY3QtY3Jldz4= Jan 24 13:02:40 domain postfix/smtpd[18461]: lost connection after AUTH from [x.x.x.x] Why?? where are the errors?? -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Questo inverno scaldale il cuore, con il prezioso calore di un Diamante. * Non lasciarti sfuggire lo sconto del 20% riservato a te! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5630&d=24-1
Timo Sirainen
2007-Jan-24 13:51 UTC
[Dovecot] default_pass_scheme = PLAIN-MD5 dont work :(
On Wed, 2007-01-24 at 14:17 +0100, mancausoft wrote:> default_pass_scheme = PLAIN-MD5..> Jan 24 13:02:39 domain postfix/smtpd[18461]: warning: [x.x.x.x]: SASL > CRAM-MD5 authentication failed:http://wiki.dovecot.org/Authentication/PasswordSchemes CRAM-MD5 can't work unless you store the password in plaintext or in CRAM-MD5 format. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070124/965f25d2/attachment.bin>