Hi,

I'm trying to migrate the accounts from worldclient to Zimbra with imapsync.
I can't figure it out how to fix this issue.
Please anyone help me to fix it ?

Code:
# /usr/bin/imapsync --host1 172.16.0.12 --user1 user@domain.com--passfile1 /home/username/password1 --host2 172.16.12.12 --user2 user@domain.com --passfile2 /home/username/password3 --ssl2 --noauthmd5
$RCSfile: imapsync,v $ $Revision: 1.286 $ $Date: 2009/07/24 15:53:04 $
Here is a [linux] system (Linux ZIMBRIX 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64)
with perl 5.10.1
Mail::IMAPClient  3.21
IO::Socket        1.31
IO::Socket::SSL
Digest::MD5       2.39
Digest::HMAC_MD5
Term::ReadKey     2.30
Date::Manip
 and the module Mail::IMAPClient version used here is 3.21
Command line used:
/usr/bin/imapsync --host1 172.16.0.12 --user1 user@domain.com --passfile1 /home/username/password1 --host2 172.16.12.12 --user2 user@domain.com --passfile2 /home/username/password3 --ssl2 --noauthmd5
Turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
TimeZone:[europe/paris]
Will try to use LOGIN authentication on host1
Will try to use LOGIN authentication on host2
From imap server [172.16.0.12] port [143] user [user@domain.com]
To   imap server [172.16.12.12] port [993] user [user@domain.com]
Banner: * OK domain.com IMAP4rev1 MDaemon 12.5.4 ready
Host 172.16.0.12 says it has CAPABILITY for AUTHENTICATE LOGIN
Success login on [172.16.0.12] with user [user@domain.com] auth [LOGIN]
Can not open imap connection on [172.16.12.12] with user [user@domain.com]: IO::Socket::SSL: connect: Connection refused