[Dovecot] mdbox with separate index location results in many emptydirectories

Timo Sirainen tss at iki.fi
Tue Jul 31 22:39:36 EEST 2012


On 20.7.2012, at 15.46, Jürgen Obermann wrote:

> mail_location = mdbox:/dovecot/storage%h:INDEX=/dovecot/index%h
..
> As expected the index files now reside under /dovecot/index%h/mailboxes/, but the path /dovecot/storage%h/mailboxes/ also contains for every user and every mailbox name a directory which in turn contains only an empty subdirectory 'dbox-Mails'.  These directories seem to me to sum up to a lot of unneded infrstructure objects. I tried to delete these empty directories, but dovecot did not like that and stopped to work. So somehow they are necessary, in spite of setting a separate index file location.
> 
> So my question is, could these empty directories be avoided, perhaps in a future version?

No plans to do it. The empty directories under /dovecot/storage are used to find out what mailboxes exist. And in some setups those directories aren't always empty (e.g. dovecot-acl files go there).




More information about the dovecot mailing list