Results 1 to 5 of 5

Thread: Migrating from Cyrus to Zimbra - imapsync

  1. #1
    claud1e is offline Junior Member
    Join Date
    Sep 2006
    Posts
    5
    Rep Power
    8

    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

  2. #2
    claud1e is offline Junior Member
    Join Date
    Sep 2006
    Posts
    5
    Rep Power
    8

    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

  3. #3
    inigoml's Avatar
    inigoml is offline Project Contributor
    Join Date
    Aug 2006
    Location
    Madrid, Spain
    Posts
    124
    Rep Power
    9

    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

  4. #4
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    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.

  5. #5
    dubal is offline Starter Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    5

    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.


LinkBacks (?)

  1. 10-18-2007, 12:16 PM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 26
    Last Post: 04-19-2011, 09:24 AM
  2. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  5. Replies: 1
    Last Post: 11-23-2005, 01:35 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
  •