AW: Converting mailboxes from one Maildir format to another

Patrick De Zordo patrick at
Thu Jun 12 08:18:45 UTC 2014

> -----Ursprüngliche Nachricht-----
> Von: dovecot [mailto:dovecot-bounces at] Im Auftrag von Patrick
> C
> Gesendet: Mittwoch, 11. Juni 2014 23:16
> An: dovecot at
> Betreff: Converting mailboxes from one Maildir format to another
> I am currently running dovecot 2.0.9 on a CentOS 6 server with the following
> layout for mailboxes:
> mail_location = maildir:~/Maildir
> I would like to change the layout to this format to match the output of other
> software packages such as offlineimap, mbsync, etc:
> mail_location = maildir:~/Maildir:LAYOUT=fs:INBOX=~/Maildir/INBOX
> Is there a way to convert the mailbox layout for all mail accounts currently on
> the server? I was looking at dsync, but there aren't any Maildir <--> Maildir
> examples.

Hey yah,
try looking at this page:
It helps a lot!


> I was also looking at potentially writing a script to manually rename
> directories/move files around to match the new format, but wasn't sure
> whether that would mess with UIDs or other dovecot internals.
> pat
> patrickc81 at

More information about the dovecot mailing list