Synchronize IMAP account between host1 and host2

imapsync

  • Email IMAP tool for syncing, copying and migrating email mailboxes between two IMAP servers, one way, and without duplicates.
    More information: <https://imapsync.lamiral.info>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

imapsync --host1 {{host1}} --user1 {{user1}} --password1 {{secret1}} --host2 {{host2}} --user2 {{user2}} --password2 {{secret2}}

click the source code to copy install imapsync on any operating system with command-not-found.com