[Dovecot] Auth MD5 problem

Azher Amin azher at niit.edu.pk
Mon Apr 23 07:33:26 EEST 2007


Hi,

I am using dovecot 1.0 with squirrelmail. But when i use $imap_auth_mech 
= 'digest-md5' instead of plain,  dovecot throws this line:

dovecot: Apr 23 09:16:07 Info: imap-login: Aborted login: user=<azher>, 
method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, secured

and user can't login. Plz suggest.

Regards
-Azher


Settings:
======

disable_plaintext_auth = yes

auth default {
  # Space separated list of wanted authentication mechanisms:
  #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
  mechanisms = plain login cram-md5 digest-md5

Mysql Tables: Passwords are stored with the help of MD5 function

dovecot-sql.conf :
============
user_query = SELECT home, uid, gid FROM users WHERE userid = '%u'
password_query = SELECT userid as user, password, home as userdb_home, 
uid as userdb_uid, gid as userdb_gid FROM users WHERE userid = '%u'



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the dovecot mailing list