Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We changing our internal infrastructure and replacing old Linux server with an OS X Lion server. One crucial thing is email - need migrate it without interruption. Currently we have Linux/Cyrrus, with zilion of stored emails for tens of local users.

Here: How setup IMAP to migrate Mail Server is recommennded doing it via local mail client, what is ok for external imap-server for one user, but not practical for the full server-migrate.

What is the recommended way migrate the whole mail-handling from Linux cyrrus/postfix into OS X Lion dovecot? Know anyone some scripts (preferable perl) what can help with the migrating?

My current idea:

  • setup DNS, Users, and email handling on the Lion server
  • stop the mailserver on the Linux
  • migrate all emails (with some script)
  • change MX record from Linux to Lion
  • start using Lion

Any guides, caveats and/or any helpful comments?

share|improve this question
up vote 1 down vote accepted

There's a Cyrus2Dovecot migration tool developed by Freie Universität Berlin.

Cyrus2Dovecot is a full-featured command line tool for converting the e-mails of one or more users from Cyrus format to Dovecot Maildir++ folders. It allows for performing a server transition which is fully transparent to both POP and IMAP users.

And other migration solutions in the Dovecot wiki.

share|improve this answer
Nice, thank you very much. Is here any OS X Lion "speciality" about what i need care? Based on you answer i found this: . Any other things? – kobame Mar 28 '12 at 11:51

For other people that come here asking this:

Use imapsync, you can get it via macports.


imapsync home page

share|improve this answer
Thanks for your answer, gbrandt! Can you please add a link to the software you mention in your answer? It is always helpful to add a link to help the OP to find the right software. Thank you. – daviesgeek Jul 16 '12 at 18:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.