Doesn't work for me - I get
Banner : * OK host2 Zimbra IMAP4rev1 service ready
Host host2 says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login : [host2] with user [user2] auth [LOGIN]: 3 NO cleartext logins disabled
3 NO cleartext logins disabled
...propagated at /usr/bin/imapsync line 676.
tried the same flags but adding -ssl2 and then still get
Error connecting to host2:993:
I must be missing something obvious but am not sure what! I was trying the command on host2 and used localhost to make sure it wasn't a firewall issue but with the same error.