I have use this command :
/usr/bin/imapsync --nosyncacls --syncinternaldates --host1 localhost --authuser1 root --password1 "xxx" --user1 mrojas --host2 server.dominio.com --authuser2 root --password2 "yyy" --user2
mrojas@dominio.com --noauthmd5
With this result :
$RCSfile: imapsync,v $ $Revision: 1.267 $ $Date: 2008/10/07 11:36:02 $
Here is a [linux] system (Linux correo 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686)
with perl 5.8.8
Mail::IMAPClient 2.2.9
IO::Socket 1.29
IO::Socket::SSL
Digest::MD5 2.36
Digest::HMAC_MD5 1.01
Term::ReadKey
Date::Manip
and the module Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --nosyncacls --syncinternaldates --host1 localhost --authuser1 root --password1 2301derco --user1 mrojas --host2 mail.congresodegeologia.com --authuser2 root --password2 adesiy2k --user2
mrojas@dercoperu.net --noauthmd5
Turned ON syncinternaldates, will set the internal dates on host2 same as host1.
TimeZone :[PET]
Will try to use LOGIN authentication on host1
Will try to use LOGIN authentication on host2
From imap server [localhost] port [143] user [mrojas]
To imap server [mail.congresodegeologia.com] port [143] user [mrojas@dercoperu.net]
Can not open imap connection on [localhost] with user [mrojas] : IO::Socket::INET: connect: Conexión rehusada
Please help me.