[Dovecot] mbox folders on-disc layout
Timo Sirainen
tss at iki.fi
Wed Apr 18 19:45:13 EEST 2012
On 18.4.2012, at 14.36, John Robinson wrote:
> I'd like to change the on-disk layout for my mboxes from being
> ~/mail/foo/bar
> to
> ~/mail/foo.bar
> so that I can have folders containing both messages and subfolders, without having subfolders beginning with . and then having to do all the other fiddling with locations of index files etc. that goes along with LAYOUT=maildir++, and also leaving the filesystem layout looking sensible so my users see their mailboxes instead of the index and control files.
>
> Is this possible or do I need to patch something?
Not possible without patching. There's also the other possibility of doing something like:
# Trick mbox configuration which allows a mail folder which contains both
# messages and sub-folders
mail_location = mbox:~/mail/mailboxes:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control
from http://wiki2.dovecot.org/MboxChildFolders
More information about the dovecot
mailing list