[Dovecot] authentication troubles
hi
i have a strange problem with my dovecot installtion: i configured it to accept digest-md5 authentication only but for some reason mailclients (i tried mutt and thunderbird so far) want to log with PLAIN (which fails of course). authentication basically works, e.g. if i explicitly set set imap_authenticators="digest-md5 in .muttrc everything works... any idea what is going wrong?
config attached below
tia
yours albert
# /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imaps pop3s ssl_listen(default): *:22993 ssl_listen(imap): *:22993 ssl_listen(pop3): *:22995 ssl_cipher_list: ALL:!LOW login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login first_valid_uid: 107 last_valid_uid: 107 mail_location: maildir:%h/Maildir mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 namespace: type: private location: maildir:%h/Maildir inbox: yes auth default: mechanisms: digest-md5 realms: mailstore.nicenamecrew.com default_realm: mailstore.nicenamecrew.com username_format: %Lu verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: uid=vmail gid=vmail home=/var/mail/virtual/%d/%n socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 432 group: vmail
On Sun, Mar 30, 2008 at 05:20:55PM +0200, Albert Dengg wrote:
hi
i have a strange problem with my dovecot installtion: i configured it to accept digest-md5 authentication only but for some reason mailclients (i tried mutt and thunderbird so far) want to log with PLAIN (which fails of course). authentication basically works, e.g. if i explicitly set set imap_authenticators="digest-md5 in .muttrc everything works... any idea what is going wrong?
config attached below
i forgot to add: i tried with both dovecot 1.0.rc15 from debian etch as well as a newer version (1.0.13 from backports.org) with the same result in both cases.
yours albert
On Sun, 2008-03-30 at 17:20 +0200, Albert Dengg wrote:
hi
i have a strange problem with my dovecot installtion: i configured it to accept digest-md5 authentication only but for some reason mailclients (i tried mutt and thunderbird so far) want to log with PLAIN (which fails of course).
Thunderbird doesn't support DIGEST-MD5 as far as I know, but mutt has always used DIGEST-MD5 with me automatically. In any case there isn't anything on Dovecot's side you can do about this. Although you could verify that:
openssl s_client -connect imap.domain.org:22993 x capability
There should be no AUTH=PLAIN in the capability list, and there should also be LOGINDISABLED capability.
participants (2)
-
Albert Dengg
-
Timo Sirainen