More actions
Imapsync is a command used to move mail from one mailbox to another. It literally logs into both mailboxes and uses the IMAP protocol to move mail from one mailbox into another.
- A sample
imapsync
command:
imapsync --ssl1 --ssl2 --host1 mailserver1.com \ --user1="mailbox@domain.com" \ --host2 mailserver2.com \ --user2="mailbox@domain.com" --subscribe --fast
Note: the above command uses the "\" character to break the command across multiple lines for easier reading. However, you could put that all on one line and omit the "\" characters.
Sources
https://pairsecrets.com/how-to-move-email-using-the-imap-sync-cli-utility/