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
[EMAIL PROTECTED] | PGP key: wwwkeys.pgp.net
signature.asc
Description: Digital signature
