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

Mailbox

src/lib-storage/mail-storage.h and mail-storage-private.h describes mailbox API, among others. Mailbox life cycle often goes like:

There are a lot of functions to deal with mailboxes. The most important ones are: