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

Mail Storage

src/lib-storage/mail-storage.h and mail-storage-private.h describes mail storage. Mail storage is mainly about being a common container for its mailboxes. For example with multi-dbox each storage has one directory where all the message bodies are written to, while the per-mailbox directories only contain index files. With other mailbox formats mail storage doesn't do much else than allow allocating mailboxes.

The only public functions for mail storage are:

Methods that mail storage backends need to implement are:

Design/Storage/MailStorage (last edited 2009-12-16 01:53:14 by TimoSirainen)