On Sun, 29 May 2005 15:12:11 -0400
Sam Varshavchik <mrs...@courier-mta.com> wrote:
David writes:
« HTML content follows »
Hallo.
Â
I am using Courier Imap with MySQL and it works well. My Problem is that I
canât use encrypted passwords. I tried to comment out  MYSQL_CLEAR_PWFIELD
and activate MYSQL_CRYPT_PWFIELD. I encrypted my passwords with the MySQL
function encrypt. But after this no login was possible. I have made the
same question but nobody does response me. Please help me Iâm desperate
and I canât find a solution.
This is probably because MySQL's encrypt() function does not encrypt
passwords the same way that Courier does. Courier uses the standard
triple-DES encryption, the same one used by your passwd command. MySQL's
encrypt() probably does something completely different.
Nope,
`ENCRYPT(STR[,SALT])'
Encrypt STR using the Unix `crypt()' system call. The SALT
argument should be a string with two characters. (As of MySQL
3.22.16, SALT may be longer than two characters.) If no SALT
argument is given, a random value is used.
Bye
Racke