Created
January 10, 2009 08:15
-
-
Save shillcock/45413 to your computer and use it in GitHub Desktop.
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
imapsync --host1 imap.gmail.com \ | |
--port1 993 --user1 user\@gmail.com \ | |
--passfile1 ./passfile1 --ssl1 \ | |
--host2 imap.gmail.com \ | |
--port2 993 --user2 [email protected] \ | |
--passfile2 ./passfile2 --ssl2 \ | |
--syncinternaldates --split1 100 --split2 100 \ | |
--authmech1 LOGIN --authmech2 LOGIN \ | |
--regexmess 's/Delivered-To: user\@gmail.com/Delivered-To: user\@domain.com/g' \ | |
--regexmess 's/<user\@gmail.com>/<user\@domain.com>/g' \ | |
--regexmess 's/Subject:(\s*)\n/Subject: (no--subject)$1\n/g' \ | |
--regexmess 's/Subject: ([Rr][Ee]):(\s*)\n/Subject: $1: (no--subject)$2\n/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment