This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 23 and 25 (spanning 2 versions)
Revision 23 as of 2016-03-02 14:58:48
Size: 2028
Editor: TimoSirainen
Comment:
Revision 25 as of 2018-02-21 12:57:27
Size: 2118
Editor: 2001:2060:49:110:6d19:9578:1c34:cc6e
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
 * [[Design/Events|Events]]
Line 27: Line 28:

lib-dcrypt:
 * [[Design/Dcrypt|lib-dcrypt data formats]]

Dovecot Design

Code APIs

  • Code design - explanations how and why the coding style is the way it is

Look at the *.h files for the actual API documentation. The documentation below doesn't attempt to list full API documentation.

liblib:

lib-dcrypt:

lib-storage:

  • Mail user contains everything related to a single user.

  • Mail namespace: A single user can contain multiple namespaces.

  • Mailbox list is used to list/manage a list of mailboxes for a single namespace (1:1 relationship).

  • Mail storage is used to access mails in a specific location with a specific mailbox format. Multiple namespaces can point to the same storage. A single namespace may in future (but not currently) point to multiple storages (e.g. a mixed mbox and Maildir directory).

  • Mailbox is used to access a specific mailbox in a storage.

  • Mail is used to access a specific mail in a mailbox.

  • Error handling.

  • Plugins - how to hook into lib-storage functions.

None: Design (last edited 2021-09-24 15:30:38 by TimoSirainen)