Results 1 to 5 of 5

Thread: [SOLVED] Google apps to Zimbra imapsync 1.286

  1. #1
    gurdeepsv is offline Intermediate Member
    Join Date
    Sep 2009
    Posts
    23
    Rep Power
    5

    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]:

  2. #2
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    364
    Rep Power
    6

    Default

    did you try option "--noauthmd5"

  3. #3
    gurdeepsv is offline Intermediate Member
    Join Date
    Sep 2009
    Posts
    23
    Rep Power
    5

    Default

    Yes, I did add --noauthmd5 again and checked, it still exits in the same manner.

  4. #4
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    364
    Rep Power
    6

    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

  5. #5
    gurdeepsv is offline Intermediate Member
    Join Date
    Sep 2009
    Posts
    23
    Rep Power
    5

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. postfix relay=none status=bounced for local mails
    By vdd in forum Administrators
    Replies: 1
    Last Post: 08-06-2009, 08:05 AM
  2. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  3. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •