Results 1 to 8 of 8

Thread: Google Enterprise Migration Woes

  1. #1
    jroberts235 is offline Member
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    7

    Default Google Enterprise Migration Woes

    I am having mixed results using imapsync to migrate 50 users from Google to Zimbra. Some accounts work beautifully, on others, imapsync can't even log in to Google's imap server even though the credentials are correct and IMAP is enabled on all Google accounts. Imapsync sometimes fails with "parse_headers want an ARRAY ref" which I have googled extensively and not found fixes for.

    Is there anyone who has done this migration recently?
    What tools are you using?
    Do I need to better tune imapsync?
    Can Fetchmail be used?


    I am using:

    CentOs-5
    zcs-NETWORK-5.0.4_GA_2101.RHEL5 (large file support per Wiki)
    imapsync -v 1.250
    perl v5.8.8

    imapsync $1 --nosyncacls --syncinternaldates --buffersize 8192000 \
    --exclude "Trash" --exclude "Deleted Items" \
    --exclude "Deleted Messages" --exclude "Deleted" \
    --ssl1 --ssl2 --noauthmd5 --authmech1 LOGIN --authmech2 LOGIN \
    --host1 $host1 --user1 "$user" --password1 "$p1" \
    --host2 $host2 --user2 "$user2" --password2 "$p2"

    Thanks in advance for your time and knowledge,

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Yes fetchmail could be used to inject into the local ZCS MTA (Postfix) instance. The downside I believe is that timestamps etc would not be honoured as it would use the time the MTA received it. Sorry, not done this myself.

  3. #3
    jroberts235 is offline Member
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    7

    Default

    I just saw that in my tests. Unfortunately, that's a deal breaker.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Okay, some IMAPSYNC works and some do not. Is that the case ? There is always a solution

  5. #5
    jroberts235 is offline Member
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    7

    Default

    Yes. That is the case.

    And it fails with no explanation other than what I posted above.

    What are common reasons for imapsync to fail? Large attachments I gathered from previous posts. I set the max email size according to the migration wiki.

    What else?

  6. #6
    jroberts235 is offline Member
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    7

    Default

    I have not tried older versions of imapsync. I read the parse_header error was a bug in ver 1.249, so I was hoping that it would not be in 1.50. Maybe 1.242 (I think is the one before) will be ok?

  7. #7
    jroberts235 is offline Member
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    7

    Default

    We found that imapsync quits when it finds a piece of mail that has no subject.
    Apparently there were a lot of them left over from a migration from Exchange a while back, Contacts that Gmail migrated as emails with no subject header.

    We created a patch for imapsync that ignores mails with no subject header and we're back in business.

  8. #8
    webman's Avatar
    webman is offline Special Member
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    7

    Default

    Search the forums for 'x-zimbra-received' - it is a header which can be set when importing mail to apply the correct date.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 10-29-2009, 08:56 PM
  2. [SOLVED] GroupWise 7.0.2 migration
    By Rich Graves in forum Migration
    Replies: 28
    Last Post: 04-17-2008, 04:13 PM
  3. Migration Wizard: Unable to Open Directory Object
    By ThorGoLucky in forum Administrators
    Replies: 15
    Last Post: 01-31-2008, 02:01 AM
  4. Migrate from Google Apps to Zimbra?
    By jbwiv in forum Migration
    Replies: 1
    Last Post: 12-12-2007, 07:19 AM
  5. Network problems
    By tobuck in forum Installation
    Replies: 28
    Last Post: 04-17-2006, 03:45 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
  •