Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-2009, 02:00 AM
Intermediate Member
 
Posts: 23
Default [SOLVED] Google apps to Zimbra imapsync 1.286

Hi,

We are trying to migrate from Google Apps to Zimbra, but imapsync exits with the following error:
Can not open imap connection on [imap.gmail.com] with user [xxx.xxx@companyname.com]:

We have successfully migrated from MDaemon to Zimbra with imapsync. I have tried getting a solution from various forums, have upgraded imapsync and IMAPClient as suugested on their website for Gmail support..... still no luck.

Firewall is not blocking outbound connections, I can telnet to port 993 and run command line IMAP commands on google apps domain.

Kindly help me resolving it.

imapsync error:

$RCSfile: imapsync,v $ $Revision: 1.286 $ $Date: 2009/07/24 15:53:04 $
Here is a [linux] system (Linux mail.zimbradomain.com 2.6.18-128.1.14.el5 #1 SMP Wed Jun 17 06:38:05 EDT 2009 x86_64)
with perl 5.8.8
Mail::IMAPClient 3.19
IO::Socket 1.29
IO::Socket::SSL
Digest::MD5 2.36
Digest::HMAC_MD5
Term::ReadKey
Date::Manip
and the module Mail::IMAPClient version used here is 3.19
Command line used:
/usr/bin/imapsync --host1 imap.gmail.com --ssl1 --user1 xxx@companyname.com --password1 MASKED --host2 mail.zimbradomain.com --user2 xxx.xxx@zimbradomain.com --password2 MASKED --authmech1 LOGIN --authmech2 PLAIN --syncinternaldates --subscribe --nosyncacls
Turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
TimeZone:[IST]
Will try to use LOGIN authentication on host1
Will try to use PLAIN authentication on host2
From imap server [imap.gmail.com] port [993] user [xxx@companyname.com]
To imap server [mail.zimbardomain.com] port [143] user [xxx.xxx@zimbradomain.com]
Can not open imap connection on [imap.gmail.com] with user [xxx@companyname.com]:
Reply With Quote
  #2 (permalink)  
Old 11-10-2009, 03:26 AM
Elite Member
 
Posts: 328
Default

did you try option "--noauthmd5"
Reply With Quote
  #3 (permalink)  
Old 11-10-2009, 03:36 AM
Intermediate Member
 
Posts: 23
Default

Yes, I did add --noauthmd5 again and checked, it still exits in the same manner.
Reply With Quote
  #4 (permalink)  
Old 11-10-2009, 07:38 AM
Elite Member
 
Posts: 328
Default

I tried but not include:--authmech1 LOGIN, --syncinternaldates and --nosyncacls
include: --justconnect (I used it only to check if connect successfully)
And it 's work
Reply With Quote
  #5 (permalink)  
Old 11-13-2009, 04:20 AM
Intermediate Member
 
Posts: 23
Default

Hi,

I uninstalled all perl libraries, including the ones which I had compiled and installed through RPM, and reinstalled them manually.

With this imapsync script stopped exiting, but used to just freeze on login stage, as if waiting for Gmail to respond.

Then I upgraded to IO-Socket-SSL-1.31 and Net-SSLeay-1.35 and now it works

Because the same command was working for you, I thought of reinstalling the libraries.

Thanks and regards,

Gurdeep
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.