"1 Preliminary Note
I'm using two Debian or Ubuntu servers here (the procedure should
be the same for other distributions, only the installation of
imapsync will differ):
"I want to migrate the mailbox sales@example.com (username:
sales@example.com, password: secret) on server1.example.com to the
mailbox sales@example.com on server2.example.com (username and
password are the same as on server1.example.com).
"2 Before We Start
Before we start, let's take a look at both mailboxes to see what's
in them (you can do this with an email client such as Outlook,
Thunderbird, or a web-based email client such as SquirrelMail - I'm
using SquirrelMail here)."