6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: MD5 passwords
FromSent OnAttachments
Leonardo Rodrigues MagalhãesJan 31, 2003 10:45 am 
Sam VarshavchikJan 31, 2003 6:33 pm 
Leonardo Rodrigues MagalhãesFeb 1, 2003 2:22 am 
Sam VarshavchikFeb 1, 2003 11:00 am 
Leonardo Rodrigues MagalhãesFeb 3, 2003 2:46 am 
Sam VarshavchikFeb 3, 2003 5:11 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: MD5 passwordsActions...
From:Leonardo Rodrigues Magalhães (leol@solucoesip.net)
Date:Feb 3, 2003 2:46:13 am
List:net.sourceforge.lists.courier-users

Is there any other thing I should do ? I've changed authmysqlrc file and crypt_pwfield is concat('{MD5}',password). password field in the database was updated with the md5 hash of the password. I've done that using md5('something') function of MySQL.

But I cant log on the account now. This is my logfile ( i've turned log to level 1 )

Feb 3 07:06:10 cobaia pop3d: Connection, ip=[::ffff:127.0.0.1] Feb 3 07:06:14 cobaia pop3d: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], command=USER Feb 3 07:06:17 cobaia pop3d: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], command=PASS Feb 3 07:06:17 cobaia pop3d: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], username=leon@teste.solucoesip.net Feb 3 07:06:17 cobaia pop3d: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], password=123456 Feb 3 07:06:22 cobaia pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Feb 3 07:06:24 cobaia pop3d: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], command=QUIT Feb 3 07:06:24 cobaia pop3d: Disconnected, ip=[::ffff:127.0.0.1]

I've also tried to use crypt stuff. I've updates password with encrypt('password') MySQL function and configuring simply password as crypt_pwfield. It works perfectly. But I cannot get MD5 working.

Is there any special compile option I should've issued for enabling MD5 support ? Is there any special devel package I should've installed for enabling MD5 support ?

Sincerily, Leonardo Rodrigues

----- Original Message ----- From: "Sam Varshavchik" <mrs@courier-mta.com> To: "Courier ML" <cour@lists.sourceforge.net> Sent: Saturday, February 01, 2003 3:58 PM Subject: [courier-users] Re: MD5 passwords

Leonardo Rodrigues Magalhães writes:

Should courier-imap read this field as CRYPT_PWFIELD or CLEAR_PWFIELD

crypt_pwfield.

----- Original Message ----- From: "Sam Varshavchik" <mrs@courier-mta.com> To: "Courier ML" <cour@lists.sourceforge.net> Sent: Friday, January 31, 2003 11:32 PM Subject: [courier-users] Re: MD5 passwords

Leonardo Rodrigues Magalhães writes:

Question: how can I configure courier-imap to check users passwords against a MD5 hash field in MySQL ? Is this possible ?

Prepend "{MD5}" to the MD5 hash, in the table.