This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.
Differences between revisions 12 and 13
Revision 12 as of 2009-12-16 01:35:55
Size: 1601
Editor: TimoSirainen
Comment:
Revision 13 as of 2009-12-17 02:28:36
Size: 1682
Editor: TimoSirainen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
 * [[Design/Storage/Plugins|Plugins]] - how to hook into lib-storage functions.

Dovecot Design

Code APIs

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

liblib:

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 2009-12-17 02:29:03 by TimoSirainen)