Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Reply
 
LinkBack (4) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-09-2005, 11:04 AM
gfdos.sys gfdos.sys is offline
Senior Member
 
Join Date: Sep 2005
Location: Buffalo, NY
Posts: 61
gfdos.sys is on a distinguished road
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.
Reply With Quote
  #2 (permalink)  
Old 09-09-2005, 01:33 PM
KevinH KevinH is offline
Zimbra Employee
 
Join Date: Aug 2005
Location: San Mateo, CA
ZCS Version: Zimbra.latest ;)
Posts: 4,781
KevinH is on a distinguished road
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
Reply With Quote
  #3 (permalink)  
Old 09-10-2005, 08:05 AM
GertThiel GertThiel is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 42
GertThiel is on a distinguished road
Default I'm using "imapsync"

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

Quote:
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
Reply With Quote
  #4 (permalink)  
Old 09-10-2005, 08:08 AM
GertThiel GertThiel is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 42
GertThiel is on a distinguished road
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
Reply With Quote
  #5 (permalink)  
Old 09-10-2005, 09:37 AM
KevinH KevinH is offline
Zimbra Employee
 
Join Date: Aug 2005
Location: San Mateo, CA
ZCS Version: Zimbra.latest ;)
Posts: 4,781
KevinH is on a distinguished road
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
Reply With Quote
  #6 (permalink)  
Old 09-10-2005, 10:19 AM
GertThiel GertThiel is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 42
GertThiel is on a distinguished road
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
Reply With Quote
  #7 (permalink)  
Old 09-11-2005, 11:38 PM
GertThiel GertThiel is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 42
GertThiel is on a distinguished road
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
Reply With Quote
  #8 (permalink)  
Old 09-12-2005, 01:50 AM
GertThiel GertThiel is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 42
GertThiel is on a distinguished road
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
Reply With Quote
  #9 (permalink)  
Old 09-13-2005, 08:35 PM
sahuguet sahuguet is offline
Member
 
Join Date: Sep 2005
Posts: 10
sahuguet is on a distinguished road
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
Reply With Quote
  #10 (permalink)  
Old 09-13-2005, 09:58 PM
sahuguet sahuguet is offline
Member
 
Join Date: Sep 2005
Posts: 10
sahuguet is on a distinguished road
Default imapsync and SSL

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.zimbra.com/forums/administrators/16-importing-exsisting-folders-messages-address-books.html
Posted By For Type Date
Administrators - Page 13 - Zimbra - Forums This thread Refback 09-01-2007 07:33 PM
mitchc2's bookmarks on del.icio.us This thread Refback 07-31-2007 07:50 PM
Contact importing, - how to import This thread Refback 07-09-2007 05:56 AM
Importing Exsisting Folders/Messages/Address books - Page 5 - Zimbra - Forums This thread Refback 06-12-2007 04:30 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Address Books & Calendars via CLI shideg Administrators 1 11-14-2006 01:20 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0