Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

IMAP Sync

From John's Wiki

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.

logo_imapsync.png

  • 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/

https://linux.die.net/man/1/imapsync

Contents