HowTo use imapsync

What is imapsync
Imapsync is used to migrate IMAP accounts (Transfer or synchronize data between two IMAP servers). Imapsync is really helpful if you are migrating the emails to another server or if you decided to combine two email accounts into one..

HowTo use it
The tool is already installed on our servers.  So you only need to run the following command (please adapt it to your needs):
imapsync --host1 old.server.com --user1 user@domain.com --password1 123456 --host2 new.server.com --user2 user@domain.com --password2 123456



First step is to login to your shell.

Then;
In the case that we simply want to migrate or re-sync a mailbox from the previous server to the new one:
1) Replace "user@domain.com" with the current email
2) Replace "old.server.com" with the origin
3) Replace "new.server.com" with the destination
4) Replace "123456" with the real password
5) Run the command

In the case that we want to combine or re-sync two mailboxes into a singl;e mailbox:
1) Replace "user@domain.com" of the "--user1" flag with the origine email
2) Replace "user@domain.com" of the "--user2" flag with the origine email
3) Replace "old.server.com" and "new.server.com" with the server name.
4) Replace "123456" of "--password1" with the real password of the soon-to-be-closed email account
5) Replace "123456" of "--password2" with the real password of the receiving account
6) run the command

Feel free to contact our specialist if you require assistance.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Réduire la quantité de spam/pourriel reçue

Le spam (ou pourriel) est tout message électronique non-sollicité, et donc...

Why is My Email Going to Spam?

Email Going to Spam Folders To stay out of the spam folder, you should not look like a spammer....

How to Remove Your IP from AT&T’s Blacklist

If you cannot send emails to AT&T, SBC Global or other AT&T related email servers, your...

Bloquer les messages envoyés à partir d'une adresse email

Pour bloquer les messages envoyés à partir d'une adresse courriel...

IMAP sur iPhone

Configurer la messagerie IMAP sur un iPhone Apple   S’applique...