[Dovecot] what to expect from changing index location

Timo Sirainen tss at iki.fi
Thu Jun 30 07:35:00 EEST 2011


On Wed, 2011-06-29 at 18:09 +0100, William Blunn wrote:
> On 29/06/2011 18:00, William Blunn wrote:
> > Perhaps the per-mailbox index files for sdbox and mdbox should be 
> > re-named to "message metadata databases", and the "map index" should 
> > be renamed to "message store database".
> 
> Also it might be an idea to change the filenames of the files to avoid 
> the word "index".
> 
> Perhaps use something like "ddb" instead (means "Dovecot database").

Or simply "db" :)

> ${location}/mailboxes/INBOX/dbox-Mails/dovecot.ddb
> ${location}/mailboxes/INBOX/dbox-Mails/dovecot.ddb.cache
> ${location}/mailboxes/INBOX/dbox-Mails/dovecot.ddb.log
> ${location}/storage/dovecot.map.ddb

Yes, this would be nice, but..

> To allow for migration of existing installations, it might be an idea to 
> make Dovecot look for both "ddb" and "index" when opening, but use "ddb" 
> when creating new files.

This makes it annoying. It wastes disk I/O..

BTW. Cyrus also has "cyrus.index" file, which is the only storage for
message flags. So Dovecot isn't alone with this.



More information about the dovecot mailing list