Page 1 of 3 123 LastLast
Results 1 to 10 of 78

Thread: Importing Exsisting Folders/Messages/Address books

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Buffalo, NY
    Posts
    65
    Rep Power
    10

    Default Importing Exsisting Folders/Messages/Address books

    I see migration wizard for Exchange... Any suggestions for my Squirel Mail users? I am using qmail, and have IMAP available. My mailbox is currently running on RH9. I could build a brand new box with FC3 or FC4.... but I need to find a way to migrate the info to this new server.

    Gabe
    Last edited by KevinH; 09-11-2005 at 03:49 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    There are some OSS solutions to do imap migration and imap mailbox copies For very small user groups you can use a mail client. For larger groups this can be done with such a tool. We don't have a reccomended *best* solution at this time. We welcome feedback of what worked for you. A web search turned up a few links that may be a starting point.

    http://freshmeat.net/projects/imapmigration/
    http://www.jplanglois.com/products/imapcp/
    http://freshmeat.net/projects/migrationtool/

    -kevin

  3. #3
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    10

    Default I'm using "imapsync"

    I'm using "imapsync" from http://www.linux-france.org/prj/ successfully.

    The command imapsync is a tool allowing incremental and recursive imap transfer from one mailbox to another.

    We sometimes need to transfer mailboxes from one imap server to another. This is called migration.

    imapsync is the adequate tool because it reduces the amount of data transfered by not transfering a given message if it is already on both sides. Same headers, same message size and the transfert is done only once. All flags are preserved, unread will stay unread, read will stay read, deleted will stay deleted. You can stop the transfert at any time and restart it later, imapsync is adapted to a bad connection.
    Read http://www.linux-france.org/prj/imapsync/README first.

    - Gert

  4. #4
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    10

    Default

    Quote Originally Posted by GertThiel
    I'm using "imapsync" from http://www.linux-france.org/prj/ successfully.
    Do not forget to include "--syncinternaldates" to keep keep important date intact!

    - Gert

  5. #5
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Gert, If you get a chance can you post a step by step on what you did so folks can share your knowledge. Also would be helpful to include the mail server you migrated from.

    -kevin

  6. #6
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    10

    Default imapsync at a glance

    imapsync is a perl script to syncronize one IMAP message base with another. You can download it from here. A Read Me is also available.
    If you use the Gentoo Linux distro try emerge imapsync

    Before you can use imapsync you must have both the source IMAP message store and ZCS up running and working user account accessable. You should check that using an email client before starting the migration.

    Before you start, consider that imapsync will be a heavy load on your CPU and memory. The system running the migration will be less responsive.

    For this example my existing IMAP server is running on server.gtds.lan and I set up Zimbra on a new machine named zimbra.gtds.lan.

    imapsync --syncinternaldates
    --host1 server.gtds.lan --user1 yourAccount --password1 yourPassword
    --host2 zimbra.gtds.lan --user2 yourZimbraAccount --password2 yourZimbraPassword
    Of course the complete command belongs in one line.

    Less easy but much more secure is it to omit the --password{1|2} options, write each password into a seperate file and use the --passfile{1|2} option intead.

    You may interrupt imapsync at any time with CTRL-C. Simply restart the same command again to resume the migration.

    I used imapsync to migrate from a Cyrus IMAPd to Zimbra. The Read Me lists a number of other IMAP servers compatible with imapsync.

    Questions? Just ask

    - Gert

  7. #7
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    Quote Originally Posted by GertThiel
    Do not forget to include "--syncinternaldates" to keep keep important date intact!

    - Gert
    Do you or anyone else know how imapsync does that syncinternaldates? I heard IMAP doesn't support changing internal date, so I'd like to verify them somehow (I took a look at the imapsync code, but had no luck). How do I verify if the internal dates are being synchronized correctly?

    Rodrigo

  8. #8
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default --syncinternaldates

    The source IMAP server stores an INTERNALDATE on each message. When the program adds the message to the destination IMAP server, it specifies the desired INTERNALDATE in the APPEND command it uses to add the message to the target folder. If this is successfult, your migrated mailbox will contain messages with various dates; if it fails, your migrated mailbox will contain messages all dated today.

  9. #9
    Join Date
    Sep 2005
    Posts
    20
    Rep Power
    10

    Default Migrating to correct zmbra folder from courier

    Hi,

    I am migrating my inbox from a courier imap server (with qmail-ldap) to zimbra. I am able to copy the mail box, but the destination folders in zimbra are wrong. for example see the attached pic.

    I am attaching a screenshot to make it clear.

    I guess this is not a problem with Zimbra, but a mis configuration of imapsync, I am just looking to see if others got this right?

    On a happy note, the labels I have given in thunderbird are successfully imported, i just have to rename them
    raj
    Attached Images Attached Images

  10. #10
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default wrong imap root?

    Quote Originally Posted by raj2569
    Hi,

    I am migrating my inbox from a courier imap server (with qmail-ldap) to zimbra. I am able to copy the mail box, but the destination folders in zimbra are wrong. for example see the attached pic.

    I am attaching a screenshot to make it clear.

    I guess this is not a problem with Zimbra, but a mis configuration of imapsync, I am just looking to see if others got this right?

    On a happy note, the labels I have given in thunderbird are successfully imported, i just have to rename them
    raj
    Looks like the old imap server has a different imap root than zimbra (which has a root of /)

Similar Threads

  1. Importing Address Books & Calendars via CLI
    By shideg in forum Administrators
    Replies: 1
    Last Post: 11-14-2006, 02:20 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
  •