[Dovecot] Auth MD5 problem

Andrey Panin pazke at donpac.ru
Mon Apr 23 08:51:00 EEST 2007


On 113, 04 23, 2007 at 09:33:26AM +0500, Azher Amin wrote:
> 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.

Not enough data. Please enable auth_verbose and auth_debug in your dovecot.conf
and let us see results.

> 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

This sounds too fuzzy... How exactly your passwords look like ?

> 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'

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke at donpac.ru		| PGP key: wwwkeys.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20070423/e7799873/attachment.pgp 


More information about the dovecot mailing list