This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 8 and 9
Revision 8 as of 2008-09-13 19:24:07
Size: 2588
Editor: dfavro
Comment: Added mail-process out-of-memory error
Revision 9 as of 2008-10-04 20:27:47
Size: 2572
Editor: 80
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Why doesn't Dovecot work? =
= Why doesn't Dovecot w =
Line 6: Line 5:
Line 8: Line 6:
Line 15: Line 12:
Line 19: Line 15:
And the key isn't password protection and you get an error like:
Line 20: Line 17:
And the key isn't password protection and you get an error like:
Line 27: Line 23:
Line 31: Line 26:
And the log looks like:
Line 32: Line 28:
And the log looks like:
Line 37: Line 32:

Why doesn't Dovecot w

  • Dovecot always logs an error message if anything goes wrong, so make sure you're looking at the correct log files. Debug messages may be written to a different log file than error messages. See ["Logging"].

  • Try logging in manually by sending IMAP commands. If you're trying with an IMAP client you can't be sure if the problem is with the client's configuration or Dovecot's configuration. See TestInstallation (or TestPop3Installation).

  • Are you using an older version than v1.0? RHEL 5 and Debian Etch distribute v1.0.rc15, and there has been a LOT of fixes since then. If you have a problem, see if [http://dovecot.org/doc/NEWS NEWS] file mentions anything related to it. There are also [:PrebuiltBinaries:binary packages] available for newer versions.

It says password mismatch

If you're using PAM:

  • Make sure that dovecot-auth is running as root (assuming it's using /etc/shadow).

  • PAM errors aren't written to Dovecot's own logs. Usually they go to /var/log/auth.log or something similar.

    • Unfortunately PAM's error messages aren't always all that helpful in figuring out what exactly the problem is.
  • Usually the problem is that you don't have a correctly named file in /etc/pam.d/. See ["PasswordDatabase/PAM"]

For non-PAM set auth_debug_passwords=yes and look at what it says in the logs. If it's trying to use a wrong password scheme, you can change that. See ["Authentication/PasswordSchemes"]

It says Can't load certificate

And the key isn't password protection and you get an error like:

Sep 29 01:33:54 mail dovecot: imap-login: Can't load certificate file /etc/ssl/private/ssl-cert-mail-cacert.pem: error:0906D06C:PEM routines:PEM_read_bio:no start line
Sep 29 01:33:54 mail dovecot: child 27252 (login) returned error 89
Sep 29 01:33:54 mail dovecot: imap-login: Can't load certificate file /etc/ssl/private/ssl-cert-mail-cacert.pem: error:0906D06C:PEM routines:PEM_read_bio:no start line
Sep 29 01:33:54 mail dovecot: child 27253 (login) returned error 89

You've mixed up the ssl_cert_file and ssl_key_file directives in your config file.

User's IMAP connection gets unexpectedly closed while retrieving headers of a large folder

And the log looks like:

Sep 12 16:10:34 hostname dovecot: IMAP(username): block_alloc(): Out of memory
Sep 12 16:10:34 hostname dovecot: child 17717 (imap) returned error 83 (Out of memory)

You must increase the mail_process_size parameter in /etc/dovecot/dovecot.conf

None: WhyDoesItNotWork (last edited 2018-09-09 05:36:49 by AkiTuomi)