Install and use imapsync on Ubuntu 14.04 / 16.04
Note
An updated version for Ubuntu 16.04: Install and use imapsync on Ubuntu 16.04
What is imapsync?
The purpose of imapsync is to migrate IMAP accounts or to backup IMAP accounts. IMAP is one of the three current standard protocols to access mailboxes, the two other are POP3 and HTTP with webmails (often tied to an IMAP server).
Install dependencies
Clone git repository
Install cpan Unicode
You might get a Can't locate Unicode/String.pm
when trying to build.
It’s best to install the cpan Unicode package directly.
Build and install
When everything above went ok, you should see something like this when imapsync -v
Start syncing
An example syntax on how to sync from server1 on to server2, both using ssl.
More information can be found on the official imapsync website.
Thanks for reading
Feel free to leave a comment if you have remarks or like this post