Difference between revisions of "Dovecot"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(→‎Notes: more about those sub-conf files)
(→‎Notes: actually, sometimes they're not loaded at all.)
Line 18: Line 18:
  
 
There doesn't seem to be any official documentation on how these files are invoked, but the last comment in [https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/590408 this forum post] implies that these files are read first and then may be overridden by [[/dovecot.conf]] (or possibly they are only loaded if the corresponding settings are missing, but this seems like a more fragile approach and so less likely).
 
There doesn't seem to be any official documentation on how these files are invoked, but the last comment in [https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/590408 this forum post] implies that these files are read first and then may be overridden by [[/dovecot.conf]] (or possibly they are only loaded if the corresponding settings are missing, but this seems like a more fragile approach and so less likely).
 +
 +
'''Warning''': Sometimes these files are totally not being looked at, and you have to paste their contents (...well, the auth.d/ one at least) into dovecot.conf. We really need to know what the mechanism is for loading these files.
  
 
If you are experiencing an error where dovecot complains that it can't find [[cmusieve]] – like this:
 
If you are experiencing an error where dovecot complains that it can't find [[cmusieve]] – like this:

Revision as of 16:01, 8 October 2010

Overview

Dovecot is email server software. Wikipedia describes it as just a POP3 and IMAP server, but Ubuntu packages it as a "stack" which provides both MTA and MDA functionality.

Helper Binaries

Dovecot includes a number of helper command-line binaries; existing documentation for these is hard to find. Typical locations for these commands are:

  • /usr/lib/dovecot/
  • /usr/libexec/dovecot/
  • /usr/local/libexec/dovecot/

Binaries include:

Notes

For Ubuntu 10.04 (whatever version of dovecot that corresponds to), some of the settings in dovecot.conf have been pushed out to sub-files. When dovecot is paired with Postfix, the files appear to be:

  • auth.d/01-dovecot-postfix.auth
  • conf.d/01-dovecot-postfix.conf

There doesn't seem to be any official documentation on how these files are invoked, but the last comment in this forum post implies that these files are read first and then may be overridden by /dovecot.conf (or possibly they are only loaded if the corresponding settings are missing, but this seems like a more fragile approach and so less likely).

Warning: Sometimes these files are totally not being looked at, and you have to paste their contents (...well, the auth.d/ one at least) into dovecot.conf. We really need to know what the mechanism is for loading these files.

If you are experiencing an error where dovecot complains that it can't find cmusieve – like this:

Fatal: Plugin cmusieve not found from directory /usr/lib/dovecot/modules/lda

– then edit the 01-dovecot-postfix.conf file and change "cmusieve" to "sieve". --Woozle 17:41, 23 May 2010 (UTC)

Links

Reference