I'm curretly migrating from kerio to zimbra and have some difficulties with imapsync.

When running the following command
imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1  --user1 username --password1 somepassword -host2 --user2 username --password2 samopassword --authmech1 PLAIN --authmech2 PLAIN --ssl1
I get an Error

Error connecting to
which is strange because telnetting to the port is not a problem and I get properly greeted. Only thing I could find is the colon at the end which I'm not shure it's supposed to be there

Anyone that can get me any further ?