elena One after the other... If you use the same ssh user, just make sure you remove the contents of the folder /.mbsync after each run, as user vsajip explained here.
Thanks for your suggestion.
I just tried mbsync
.
Oooohhff.
I agree with what everyone wrote above. Not great.
It seems to work on the first run, but subsequent runs duplicate messages. (Yes, I cleared out the ~/.mbsync
dir after each run.)
I rant it on a really small sample (less than 500 total messages) and it was slow (which I can deal with). But I can imagine how much ram it's taking up and, given the experiences above, wouldn't be surprised if it crashed on my main mail boxes. And getting duplicate messages on subsequent runs makes that a bad idea.
I still haven't been able to figure out the security/SSL issue with imapsync
.
I just tried @vsajip's migratemail.py
script. It too was able to login to WF but not OS. But it generated a slightly different error:
Host2: connecting and login on host2 [mail.us.opalstack.com] port [993] with user [EMAILBOX]
Host2 failure: can not open imap connection on host2 [mail.us.opalstack.com] with user [EMAILBOX]: Unable to connect to mail.us.opalstack.com: IO::Socket::IP configuration failed SSL connect attempt failed because of handshake problems SSL wants a read first
Exiting with return value 10 (EXIT_CONNECTION_FAILURE) 1/50 nb_errors/max_errors
I found the following, but not definitive fix: