View Single Post
  #4 (permalink)  
Old 12-10-2008, 06:25 AM
manOfmoods manOfmoods is offline
Intermediate Member
 
Posts: 22
Default

It is interesting that different versions of imapsync provide different output:

1.219 - Hangs with this output:

Code:
$ imapsync --host1 mailserv1.domain.com --port1 993 --host2 mailserv2.domain.com --port2 993 --justconnect --noauthmd5 --ssl1 --ssl2
$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $ 
Here is a linux system Linux zim.iphil.ru 2.6.18-92.1.10.el5 #1 SMP Mon Aug 4 14:38:32 EDT 2008 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --host1 mailserv1.domain.com --port1 993 --host2 mailserv2.domain.com --port2 993 --justconnect --noauthmd5 --ssl1 --ssl2
<Hangs> then print
Code:
Can not open imap connection on [mail.iphil.ru] : Socket closed while reading data from server.
1.267 Output is:
Code:
./imapsync --host1 mailserv1.domain.com --port1 993 --host2 mailserv2.domain.com --port2 993 --justconnect --noauthmd5 --ssl1 --ssl2
$RCSfile: imapsync,v $ $Revision: 1.267 $ $Date: 2008/10/07 11:36:02 $ 
Here is a [linux] system (Linux zim.iphil.ru 2.6.18-92.1.10.el5 #1 SMP Mon Aug 4 14:38:32 EDT 2008 i686)
with perl 5.8.8
Mail::IMAPClient  2.2.9
IO::Socket        1.29
IO::Socket::SSL   
Digest::MD5       2.33
Digest::HMAC_MD5  
Term::ReadKey     
Date::Manip       
 and the module Mail::IMAPClient version used here is 2.2.9
Command line used :
./imapsync --host1 mailserv1.domain.com --port1 993 --host2 mailserv2.domain.com --port2 993 --justconnect --noauthmd5 --ssl1 --ssl2
Can not open imap connection on [mailserv1.domain.com] :
1) What version of imapsync is recommended?

2) According to the imapsync v 1.267 output there is some problem with firewall or etc, but it doesn't seem to be true. Because thunderbird manage to connect to the mailserv1.domain.com and get mail.
3) Maybe something is wrong with IO::Socket::SSL?
Reply With Quote