On Thu, Apr 10, 2008 at 08:35:19PM +0200, bsd wrote:
> I have configured Courier to use a MySQL Backend, password are stored  
> in "cleartext" format.
> When authenticating I have this strange issue wher Courier tells me:  
> supplied password 'atest' does not match encrypted password 'atest //  
> very strange message…

It gives a very accurate message.

Almost certainly you have a mistake in your authmysqlrc, but if you don't
post it, how can we help you?

> Apr 10 20:22:49 sd-12545 authdaemond: SQL query: SELECT username,  
> password, "", 2001, 2001, '/var/mail/', maildir, "", name, "" FROM  
> mailbox WHERE username = "[EMAIL PROTECTED]"

and the order of columns is:

username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname,
options

So, my guess is that in authmysqlrc you've said that your 'password' column
contains an encrypted password (MYSQL_CRYPT_PWFIELD). You need to tell it
that this column contains a plaintext password (MYSQL_CLEAR_PWFIELD)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to