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.
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@gmail.com
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Patrick C Gesendet: Mittwoch, 11. Juni 2014 23:16 An: dovecot@dovecot.org 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: http://wiki2.dovecot.org/Migration/MailFormat It helps a lot!
Cheers!
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@gmail.com
participants (2)
-
Patrick C
-
Patrick De Zordo