migrating from dovecot to cyrus

Ciprian Vizitiu cvizitiu at gbif.org
Tue Jun 27 04:32:08 EDT 2006


> > What would be an recommended way to move maildirs (one file per 
> > message) to the cyrus storage for several thousand maildirs?
> 
> FYI: cyrus doesn't use maildir format...

... True. But if you're really desperate and since the messages in
maildir(s) are all separated files (not one big mbox) all you have to do is:

1. Stop maildir delivery
2. Create the same folder structure in /var/spool/whatever (probably by
altering the mailbox list file via text export/import)
3. Copy all the message files from maildir (while giving them a name in the
line of the ones used by Cyrus) 
4. reconstruct. 

The biggest show stopper (apart from the hard work...) is the loss of the
"Seen" flag.



More information about the Info-cyrus mailing list