I was able to get it to work... By running it on the OS server instead of my local machine.
I assume there's something wrong with certificates, my OS, or my install of imapsync
.
I tried running imapsync
on OS in the past (see above), but I guess those earlier settings weren't having it.
This is what I use and it seems to be running well:
imapsync --dry \
--host1 mail.webfaction.com --ssl1 --user1 WF_MAILUSERNAME --passfile1 ./pw-temp.txt \
--host2 mail.us.opalstack.com --ssl2 --user2 OS_MAILUSERNAME --passfile2 ./pw-temp.txt
- I use the
--passfile
option so it doesn't get logged.
- You don't need
--ssl1
, since WF seems to do ok with imapsync
defaults. But I leave it just for symmetry.
I really appreciates the output (and functionality!?) over mbsync
I tried to get @vsajip's Python script to work (on OS) but couldn't because of special characters in my passwords. Which is a known gotcha with imapsync
:
https://github.com/imapsync/imapsync/issues/99#issuecomment-416574189
https://github.com/imapsync/imapsync/issues/85
https://github.com/imapsync/imapsync/search?q=password&type=issues
I tried all manner of wrapping the passwords with single quotes
, double quotes
, quotes within quotes, and escaping characters (in the .csv) file. But kept getting login failure errors.
If not for those characters, I bet @vsajip's script would work very well.
Thanks for everyone's help!