[Dovecot] what to expect from changing index location

William Blunn bill+dovecot at blunn.org
Wed Jun 29 20:09:48 EEST 2011


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").

So,

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

becomes

${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

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.

Regards,

Bill


More information about the dovecot mailing list