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 01-12-2007, 08:35 PM
Junior Member
 
Posts: 5
Exclamation Migrating from Cyrus to Zimbra - imapsync

Greetings-

Well the support site seems to be down so maybe I can get a quick reply here....

I'm currently migrating (or attempting to) from Cyrus to Zimbra using imapsync. I can successfuly run imapsync and copy data however, the folders from Cyrus are not created INSIDE the users Inbox on Zimbra.

I've tried a number of variations of the command to try and use the prefix for destination:

imapsync --nosyncacls --syncinternaldates --host1 server1.domain.com --ssl1 --port1 993 --authmech1 PLAIN --user1 user1 --passfile1 /home/user1/password1 --include '^INBOX' --sep1 . --prefix1 INBOX. --host2 server2.domain.com --ssl2 --port2 993 --authmech2 PLAIN --user2 user2 --passfile2 /home/user1/password2 --sep2 . --prefix2 INBOX. 2> cuser1Error.log > user1Results.log

When doing this imapsync just creates new folders call INBOX.newfolder1, INBOX.newfolder2 etc intead of copying it as a subfolder of the INBOX.

Any help will be greatly appreciated.

Thanks in advance,
Claud1e
Reply With Quote
  #2 (permalink)  
Old 01-12-2007, 08:59 PM
Junior Member
 
Posts: 5
Smile Folder separtor in Zimbra

Turns out the separator in Cyrus is '.' while it is '/' in Zimbra.

Simply adding --prefix2 INBOX/ to my imapsync command fixed the issue.

imapsync --nosyncacls --syncinternaldates --host1 server1.domian.com --ssl1 --port1 993 --authmech1 PLAIN --user1 user1 --passfile1 /home/user1/user1 --include '^INBOX' --host2 server2.domain.com --ssl2 --port2 993 --authmech2 PLAIN --user2 user2 --passfile2 /home/user1/user2 --prefix2 INBOX/ 2> user1Error.log > cuser1Results.log

Regards,
Claud1e
Reply With Quote
  #3 (permalink)  
Old 01-14-2007, 12:18 PM
Project Contributor
 
Posts: 116
Default

Quote:
Originally Posted by claud1e View Post
Turns out the separator in Cyrus is '.' while it is '/' in Zimbra.
When I migrated from cyrus with imapsync I didn't have any problem with INBOX style...

just:
imapsync --nosyncacls --syncinternaldates --host1 server1.domian.com --ssl1 --port1 993 --authmech1 PLAIN --user1 user1 --passfile1 /home/user1/user1 --host2 server2.domain.com --ssl2 --port2 993 --authmech2 PLAIN --user2 user2 --passfile2 /home/user1/user2 INBOX/ 2> user1Error.log > cuser1Results.log
Reply With Quote
  #4 (permalink)  
Old 01-15-2007, 05:49 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

cyrus behaviour in this respect depends on how you have it configured. altnamespace option presents top level folders at the same level as INBOX where as standard namespace presents them under INBOX. unixhierarchysep denotes the delimiter.
Reply With Quote
  #5 (permalink)  
Old 08-26-2009, 01:59 AM
Starter Member
 
Posts: 2
Default imapsync from cyrus to zimbra did not preserve the read flag

Dear all,

I used the exact same imapsync options shown here. But all messages copied into zimbra are shown in bold as unread.
Please help. How to get the read flag over to zimbra?
Thanks in advance.
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.