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.