Jérôme Blion a écrit :
Mohit Tewari a écrit :
Hi,
My setup is debian / courier-imap / userdb
Right now the users can come to our website and get authenticated and after authentication they are redirected to mail client where then can read / send their mails (squirrelmail), the first time they log in the authentication is done by matching their passwords against the md5 hashed value of their passwords in our database and then that md5 hashed password is provided to the imap for log into imap server. Userdb has also been created by taking the md5 hash of the password from the database. Now we want to provide them the facility of downloading their mails in their outlook or anyother mail client (Eudora etc). However they will have to enter the md5 hash of their password while getting their mails in the outlook as the userdb it created using the hash. Is there a way that imap can be tweaked so that imap creates an md5 hash of the clear text password it receives and than use that hash to authenticate against the userdb.dat. Where should I look for getting the source files of courier-imap to do this if possible.

Thanks,
Mohit.

Hello,

If your userdb is fine (systempw / imappw), just check authentification is done through authuserdb. In authdaemonrc, you should have something like: authmodulelist="authuserdb authcustom" This way, any e-mail client will provide the password, and courier-authlib will do the rest.

Is there something I did not understand?

HTH.
Jerome Blion.
Huuum. I think I understood... You used the MD5 hash as password in userdb?
So it's encrypted twice?

Jerome.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to