Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Courier Authmysql

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
zeroday



Joined: 12 Dec 2007
Posts: 9

Posted: Fri Feb 01, 2008 8:34 am    Post subject: Courier Authmysql  

Edit: I used Courierpassd (http://www.arda.homeunix.net/store/) to set up password changing.

-----------------------------------------------

Hi, I installed courier and it uses mysql to authenticate users and the password field is stored using the mysql encrypt() function. I installed squirrelmail and the change password plugin, but everytime the count query runs, it finds 0 rows.

I checked the mysql manual, and it turns out if no salt variable is passed to the encrypt function I uses a random value, which is why the plugin cant find the user.

But, Courier manages to log me in each time fine, I was wandering what methods Courier uses to match the salted and encrypted password.

I hope that makes sense.
Cheers.
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1