Hi, Is it possible to have dovecot configured to use mbox format and yet have folders that contains sub-folders and messages? I'm thinking of a simple setup where any files directory with extension .sbd are presented to the IMAP client without the extension. So if you have a mbox file named BOX01 and a directory name BOX01.sdb would show has one on the client side (note: that is the way Thunderbird keeps it's mail locally). I know that the Maildir format does the sub-folders+messages, but I'm not really interested by the one file per email. Richard
On Fri, 2008-03-28 at 14:25 -0400, Richard Lefebvre wrote:> Hi, > > Is it possible to have dovecot configured to use mbox format and yet > have folders that contains sub-folders and messages? I'm thinking of > a simple setup where any files directory with extension .sbd are > presented to the IMAP client without the extension. So if you have a > mbox file named BOX01 and a directory name BOX01.sdb would show has one > on the client side (note: that is the way Thunderbird keeps it's mail > locally). > > I know that the Maildir format does the sub-folders+messages, but I'm > not really interested by the one file per email.With v1.1 you could have maildir++ directory layout with mboxes (mbox:~/mail:LAYOUT=maildir): ~/mail/.mbox1 ~/mail/.mbox1.submbox -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080328/e6625e14/attachment-0002.bin>
Thank you, by using "LAYOUT=maildir++" on 1.1rc3 it worked. I still would suggest the .sdb directory concept. It would evade the limitation of filenames length which I think it is 255, unless it has changed in recent years. Richard Timo Sirainen wrote:> On Fri, 2008-03-28 at 14:25 -0400, Richard Lefebvre wrote: >> Hi, >> >> Is it possible to have dovecot configured to use mbox format and yet >> have folders that contains sub-folders and messages? I'm thinking of >> a simple setup where any files directory with extension .sbd are >> presented to the IMAP client without the extension. So if you have a >> mbox file named BOX01 and a directory name BOX01.sdb would show has one >> on the client side (note: that is the way Thunderbird keeps it's mail >> locally). >> >> I know that the Maildir format does the sub-folders+messages, but I'm >> not really interested by the one file per email. > > With v1.1 you could have maildir++ directory layout with mboxes > (mbox:~/mail:LAYOUT=maildir): > > ~/mail/.mbox1 > ~/mail/.mbox1.submbox >