Created
June 12, 2017 12:15
-
-
Save michabbb/5684246b9176c1d719a4c5ef05635b5c to your computer and use it in GitHub Desktop.
Transfer all emails to Gmail with imapsync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on your language you have to change the word "Gesendet" (german for Sent) | |
docker run --rm skempken/imapsync --host1 mail.xxxxx.com --authmech1 PLAIN --ssl1 --port1 993 --user1 xxxxxx --password1 'xxxxxxx' --debug --port2 993 --ssl2 --host2 imap.gmail.com --user2 xxxxxxx --password2 xxxxxxxxxxxx --addheader --exclude "\[Gmail\]$" --regextrans2 's,^Sent Items$,[Gmail]/Gesendet,' --regextrans2 "s/[ ]+/_/g" --regextrans2 "s/['\^\"\\\\]/_/g" --useuid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a tweet from the maintainer of imapsync: