You are here: Foswiki>LabstaffWeb Web>LabstaffDowntime>ScheduledEmailTransition>ImapSync (05 Sep 2012, lindss2@LAB.CS.RPI.EDU)EditAttach

Using imapsync


Use ssh to connect to linux.cs.rpi.edu and type something along the lines of:
  • imapsync --host1 hostname1 --port1 port# --user1 userid#1 --domain1 fully.qualified.domain #1 --ssl1 --host2 hostname2 --port2 port# --user2 userid#2 --domain2 fully.qualified.domain #2 --ssl2
and you should be prompted to type in your passwords for both accounts. (Type things in bold literally, and replace the things in italics with appropriate values.)

for example, to copy things from bogus@cs.rpi.edu to bogususer@gmail.com:
  • imapsync --host1 imap.cs.rpi.edu --port1 993 --user1 bogus --domain1 cs.rpi.edu -ssl1 --host2 imap.googlemail.com --port2 993 --user2 bogususer --domain2 googlemail.com --ssl2

to see the less commonly used options, just type imapsync and it should give you a full usage summary.

*NOTE* Do not use the --password1 --password2 options to specify your password on the command line because it is insecure since the arguments will appear in the process table.

If you have any questions, please email labstaff@cs.rpi.edu.
Topic revision: r3 - 05 Sep 2012, lindss2@LAB.CS.RPI.EDU
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback