Page 1 of 8 123 ... LastLast
Results 1 to 10 of 78

Thread: Importing Exsisting Folders/Messages/Address books

  1. #1
    gfdos.sys is offline Senior Member
    Join Date
    Sep 2005
    Location
    Buffalo, NY
    Posts
    65
    Rep Power
    9

    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 02:49 PM.

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    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
    GertThiel is offline Active Member
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    9

    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
    GertThiel is offline Active Member
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    9

    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
    KevinH's Avatar
    KevinH is offline Expert Member
    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
    GertThiel is offline Active Member
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    9

    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
    GertThiel is offline Active Member
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    9

    Default --nosyncacls

    You should add --nosyncacls:
    imapsync --nosyncacls --syncinternaldates
    --host1 server.gtds.lan --user1 yourAccount --password1 yourPassword
    --host2 zimbra.gtds.lan --user2 yourZimbraAccount --password2 yourZimbraPassword

    ZCS' IMAP implementation has no acl related capabilities. Hence don't waste efforts with that.

    - Gert

  8. #8
    GertThiel is offline Active Member
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    42
    Rep Power
    9

    Exclamation ZCS does not support CRAM-MD5

    imapsync will not be able to authenticate to ZCS until you Enable clear text login for the IMAP service.
    You can set that option under Global Settings > IMAP in zimbraAdmin.

    Did I forget to tell you that, really

    - Gert

  9. #9
    sahuguet is offline Member
    Join Date
    Sep 2005
    Posts
    10
    Rep Power
    9

    Default What about imapsync with SSL?

    I am trying to use imapsync with one server with imap SSL.
    Any quick idea about how to make it work?

    I am looking at various examples of modified version of Perl IMAPClient used by imapsync.

    regards,

    Arnaud

  10. #10
    sahuguet is offline Member
    Join Date
    Sep 2005
    Posts
    10
    Rep Power
    9

    Default imapsync and SSL

    One just needs to modify the imapsync code for SSL support.
    Check the code snippet by Nick Burch.

Page 1 of 8 123 ... LastLast

Thread Information

Users Browsing this Thread

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

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
  •