- https://imapsync.lamiral.info/
- https://imapsync.lamiral.info/doc/TUTORIAL_Unix.html
- https://linux.die.net/man/1/imapsync
- https://wtf.roflcopter.fr/archive/?publicget=2013-07-11-06-05-15
imapsync \
--host1 mail.web4ce.cz --user1 [email protected] --password1 '***' --port1 993 --ssl1 \
--host2 imap.seznam.cz --user2 [email protected] --password2 '***' --port2 993 --ssl2 \
--split1 100 --split2 100 --allowsizemismatch --useheader Message-ID --exclude "Junk|Trash" \
--automap --tmpdir /Users/dummy2/tmp --errorsmax 5000 --folderfirst INBOX
# --dry
# --prefix1 INBOX