Aaron Stone wrote:
On Wed, 2006-05-03 at 22:44 -0700, Aaron Stone wrote:
On Wed, 2006-05-03 at 21:30 -0700, kbaker wrote:

So I am using the "-p md5-hash-raw" setting now. I got this from the "dbmail-users -h" command as you suggested. It matches the MD5 encryption I was using in Java so that's good.
However now DBMail is not accepting the password.

It is entering the encrypted password in the "dbmail_users.password" field and the encryption type "MD5" in the "dbmail_users. encryption_type"

I haven't looked into the md5 crypt format enough to really remember
again what was going on there, but I tested the different md5's and they
all still work fine.

With encryption type of 'md5' the format should be something like $1
$abcdef12$abcdef1234567$ Is that what you're seeing? Is that what your
Java program produces?

If there's some discrepancy, try producing a couple of outputs from
DBMail and from your Java app and post the original input password and
the output hashes. We can see if they're reproduceable.


So when I encode the word "password" as my password, I get the following results.


Java md5-digest result:
X03MO1qnZdYdgyfeuILPmQ==


dbmail-util -p md5-hash-raw result:
X03MO1qnZdYdgyfeuILPmQ==



So I would like to use the md5-hash-raw encoding.... problem is that when I do I can not log into the IMAP account. The database shows teh md5-hash-raw encoding as MD5



Aaron

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev




Reply via email to