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 Display Modes
  #1 (permalink)  
Old 04-30-2008, 09:54 AM
Member
 
Posts: 12
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,
Reply With Quote
  #2 (permalink)  
Old 04-30-2008, 01:29 PM
Moderator
 
Posts: 5,806
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.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #3 (permalink)  
Old 04-30-2008, 02:20 PM
Member
 
Posts: 12
Default

I just saw that in my tests. Unfortunately, that's a deal breaker.
Reply With Quote
  #4 (permalink)  
Old 04-30-2008, 02:24 PM
Moderator
 
Posts: 5,806
Default

Okay, some IMAPSYNC works and some do not. Is that the case ? There is always a solution
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #5 (permalink)  
Old 04-30-2008, 06:47 PM
Member
 
Posts: 12
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?
Reply With Quote
  #6 (permalink)  
Old 04-30-2008, 06:50 PM
Member
 
Posts: 12
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?
Reply With Quote
  #7 (permalink)  
Old 05-02-2008, 12:42 PM
Member
 
Posts: 12
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.
Reply With Quote
  #8 (permalink)  
Old 05-02-2008, 01:06 PM
Special Member
 
Posts: 166
Default

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


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0