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. Aaron
