This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.

Why doesn't Dovecot work?

It says "Authentication failed"

First of all enable auth_debug_passwords=yes and see if the logs show what the problem is. For non-PAM setups it should contain all the information needed to solve the problem. If it's trying to use a wrong password scheme, you can change that. See Authentication/PasswordSchemes.

Aborted login (no auth attempts) means that the client isn't even attempting to log in. Most likely you have disable_plaintext_auth=yes (default) and the client isn't configured to use SSL/TLS (or you've also set ssl=no).

If you're using PAM:

It's not finding my emails

mail_debug=yes makes Dovecot log where it's really looking for mails. Also auth_debug=yes may be helpful in debugging. See MailLocation for how to configure where the mails are looked up from.

WhyDoesItNotWork (last edited 2012-11-04 00:38:57 by TimoSirainen)