[Dovecot] Moving from MBOX to Maildir or DBox ?
Hello
Actually we use MBOX format for all our IMAP access but users complain they cannot create subfolders in imap folders, of course they cannot because of MBOX format ...
I need gurus advices on changing mailbox format
Maildir of Dbox ?
What would be the safest way to go ?
Note : we extensively use Thunderbird here.
Thanks
On Thu, 2010-09-16 at 17:47 +0200, Frank Bonnet wrote:
Actually we use MBOX format for all our IMAP access but users complain they cannot create subfolders in imap folders, of course they cannot because of MBOX format ...
I need gurus advices on changing mailbox format
Maildir of Dbox ?
What would be the safest way to go ?
Maildir has been in use for longer and for much more people than dbox, so it's of course safer. But sdbox is simple enough that it should be pretty safe too in v2.0 (don't use it in v1.x).
On 16/09/2010 16:47, Frank Bonnet wrote:
Actually we use MBOX format for all our IMAP access but users complain they cannot create subfolders in imap folders, of course they cannot because of MBOX format ...
Actually you can, under mbox, do mailboxes which contain both messages and sub-mailboxes.
Two approaches are outlined at http://wiki2.dovecot.org/MboxChildFolders
Though applying to an existing site either of the two approaches outlined would require some reorganisation.
That reorganisation may be sufficient trouble that it may be as well to switch to one of the other formats.
dbox is not a format; it is a family of two formats: single-dbox and multi-dbox. See http://wiki2.dovecot.org/MailboxFormat
Bill
Frank Bonnet wrote on 16.09.2010:
Hello
Actually we use MBOX format for all our IMAP access but users complain they cannot create subfolders in imap folders, of course they cannot because of MBOX format ...
I need gurus advices on changing mailbox format
Maildir of Dbox ?
What would be the safest way to go ?
Note : we extensively use Thunderbird here.
Thanks
I'm using mdbox since a few months and I've no problems at all (but it's a smaller mail server). I think mdbox should perform better in large installations. For me one drawback is that you can not easily restore a single email of an user if he has accidently deleted one - this is no problem with maildir and maybe it's also possible with sdbox.
With mdbox it's needed that you "purge" deleted mails. When a user deletes an email only the index is updated but the disk space is not freed automatically.
One of the next Dovecot version comes with support for "SIS" (Single Instance Storage). With SIS and sbox or mdbox you can save attachments in seperate files. When you find this feature useful then you must use one of Dovecot's own mailbox formats.
See this blog entry: http://blog.dovecot.org/2010/07/single-instance-attachment-storage.html
-- Daniel
participants (4)
-
Daniel Luttermann
-
Frank Bonnet
-
Timo Sirainen
-
William Blunn