Migrate Emails using imapcopy

To instal imapcopy on Ubuntu/Debian, run

To migrate mailbox, create a file

Create config file

In above file, replace SOURCE and DESTINATION server IP, user and passwords.

To start the email migration, run

You can test the config with command