Package imapsync

Tool to migrate email between IMAP servers

http://fedorahosted.org/imapsync

imapsync is a tool for facilitating incremental recursive IMAP
transfers from one mailbox to another. It is useful for mailbox migration,
and reduces the amount of data transferred by only copying messages that
are not present on both servers. Read, unread, and deleted flags are preserved,
and the process can be stopped and resumed. The original messages can
optionally be deleted after a successful transfer.

General Commands (Section 1)
imapsync
Imapsync command is a tool allowing incremental and recursive imap transfers from one mailbox to another. By default all folders are transferred, recursively...