AW: Converting mailboxes from one Maildir format to another

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


> -----Ursprüngliche Nachricht-----
> Von: dovecot [mailto:dovecot-bounces at dovecot.org] Im Auftrag von Patrick
> C
> Gesendet: Mittwoch, 11. Juni 2014 23:16
> An: dovecot at 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 at gmail.com



More information about the dovecot mailing list