Results 1 to 5 of 5

Thread: [SOLVED] Using imapsync and Zimbra

  1. #1
    Join Date
    Oct 2008
    Location
    Toronto
    Posts
    46
    Rep Power
    7

    Default [SOLVED] Using imapsync and Zimbra

    I ran imapsync from my /root/Desktop/imapsync-1.99 folder and it (apparently) worked successfuly. The trouble is the imported email & associated folders do not show up on the Zimbra Server! Imapsync (or Zimbra) has imported the mail into "/home/rick/mail".

    How do you get the imported Imap to show up in the target users account? Am I running Imapsync from the wrong location or what??

    Regards,

    Rick

  2. #2
    Join Date
    Jan 2008
    Location
    Pretoria
    Posts
    133
    Rep Power
    7

    Default

    Are you sure that you are not already running an IMAP server other than the Zimbra IMAP server?

  3. #3
    Join Date
    Oct 2008
    Location
    Toronto
    Posts
    46
    Rep Power
    7

    Default

    Not on the linux machine. I am copying the accounts from an IMAP server on a Win 3k server...

  4. #4
    Join Date
    Jun 2007
    Location
    Boston, MA
    Posts
    38
    Rep Power
    8

    Default

    Quote Originally Posted by myriad View Post
    The trouble is the imported email & associated folders do not show up on the Zimbra Server! Imapsync (or Zimbra) has imported the mail into "/home/rick/mail".

    How do you get the imported Imap to show up in the target users account?
    We use imapsync as our primary migration tool here and I have recently migrated a ton of users so I'm pretty sure I know what is going on for you.

    There are two things in play here:
    1. the way the data was imported (i.e. the name/path of the folder on Zimbra)
    2. your IMAP client's path prefix or server directory or mail root (each client calls it something different)


    For #1: in almost all cases you want to move someone's mail so it all appears at the "top level" of their zimbra mailbox list. It makes sense to have a mail directory in your home directory for mail, but when it gets to Zimbra having all the folders be called /home/user/mail/something, /home/user/mail/something2, /home/mail/something3, etc... isn't helpful. This means you will want to strip that prefix off all of the names. This is done using the --regextrans2 flag to imapsync:

    Code:
      --regextrans2 's!^/home/user/mail/(.+)!$1!'
    #2 in the list above is almost always a user education (and a user error after you've taken pains to let them know about this) issue. The user will need to reconfigure his or her IMAP client to remove the setting that told the IMAP server to look in their "mail" directory. You didn't say if your users were using the web client or another IMAP client. If, for example, they were using Thunderbird, they would need to go to Tools -> Account Settings -> Server Settings -> {Advanced} -> IMAP Server directory and clear that field. (oh, and they may want to tweak the Personal Namespace settings too, but that's a Thunderbird bug of a different color).

    Does that help any?

    -- dNb

  5. #5
    Join Date
    Oct 2008
    Location
    Toronto
    Posts
    46
    Rep Power
    7

    Default

    Yay it worked. DnB you rock!!

Similar Threads

  1. Migrating from Cyrus to Zimbra - imapsync
    By claud1e in forum Migration
    Replies: 4
    Last Post: 08-26-2009, 01:59 AM
  2. imapsync failed on zimbra new domain
    By nahmsath in forum Migration
    Replies: 7
    Last Post: 07-17-2008, 02:09 PM
  3. Replies: 12
    Last Post: 05-03-2008, 12:44 PM
  4. Zimbra to Zimbra IMAPSync
    By gmsmith in forum Administrators
    Replies: 0
    Last Post: 07-06-2007, 08:27 PM
  5. Imapsync migrationg to Zimbra fails
    By lchrist in forum Installation
    Replies: 15
    Last Post: 01-01-2007, 09:20 AM

Posting Permissions

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