I have two Centos servers:

The old one (server1) with Postfix and Courier as mail service, using roundcube and atmail (free) for IMAP webclient and POP3 for desktop clients too.

The new one (server2) with the same Postfix and Courier service, roundcube and atmail (free).

I want to migrate all our client's emails from server1 to server2, with all their IMAP folders, and preventing duplicates for POP3 desktop clients (UIDL preservation).

How can I do this?

Also, I tried with imapsync/rsync, but the desktop clients duplicates old emails.

1 Answer 1


Have you tried follow instructions Migrating from any IMAP/POP3 server to Dovecot via dsync? http://wiki2.dovecot.org/Migration/Dsync

  • 1
    Welcome to Serverfault! It would be very helpful if you could add some detail from the link to your answer. That way, if this link does ever break this answer can continue to provide some value.
    – squillman
    Oct 10, 2013 at 15:08
  • 1
    The page linked to is 95% useful, but is missing one vital element: it does not say where to place the migration config! It explains how to setup the config file to do an IMAP or POP migration from the old server, but not what/where to edit. Do you have any links with that information?
    – Glenn
    May 24, 2014 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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