Changes

Jump to navigation Jump to search
1,525 bytes added ,  16:38, 21 December 2008
Migrating users and data to Zarafa
Line 1: Line 1:  +
=== About ===
 
imapsync allows you to transfer or synchronize data between any two IMAP servers.  This could be used in any of several scenarios:
 
imapsync allows you to transfer or synchronize data between any two IMAP servers.  This could be used in any of several scenarios:
 
* Upgrading from one mail server to another (SME -> SME, Exchange -> SME, Notes -> SME)
 
* Upgrading from one mail server to another (SME -> SME, Exchange -> SME, Notes -> SME)
Line 58: Line 59:  
--folder "Public Folders/LearnAsHam"  \
 
--folder "Public Folders/LearnAsHam"  \
 
--noauthmd5 </nowiki>
 
--noauthmd5 </nowiki>
 +
 +
====Migrating users and data to Zarafa====
 +
 +
This section needs merging and updating, ports have changed, and scripts should be written
 +
 +
=====Folder Naming=====
 +
SME and Zarafa use different folder naming. To enhance migration SME folders should be renamed prior to migration.
 +
 +
drafts > Drafts              ## we should write a script, foreach user, mv folder, both ways
 +
sent-mail > Sent Items
 +
trash > Deleted Items
 +
junkmail > Junk E-mail
 +
 +
Zarafa migration whitepaper describes various ways of migrating your users and your data to a Zarafa server.
 +
 +
http://download.zarafa.com/zarafa/release/docs/zarafa_migration.en.pdf
 +
 +
=====IMAP migration from SME/IMAP to Zarafa/IMAP=====
 +
 +
Configure zarafa-gateway for migration enabling IMAP on port 144 only as shown above
 +
 +
Get imapsync and required perl module
 +
 +
http://wiki.contribs.org/Imapsync
 +
 +
Perform a user mail sync from SME/IMAP (host1/port1) to Zarafa/IMAP (host2/port2) [NOTE, ports have changed]
 +
 +
imapsync --noauthmd5 --host1 localhost --port1 143 --user1 <username> --password1 <password> --sep2 / --prefix2 "" --host2 localhost --port2 144 --user2 <username> --password2 <password>
 +
 +
Example to synchronize a user named 'bob' with password 'bob123' from SME IMAP into Zarafa:
 +
 +
imapsync --noauthmd5 --host1 localhost --port1 143 --user1 bob --password1 bob123 --sep2 / --prefix2 "" --host2 localhost --port2 144 --user2 bob --password2 bob123
 +
 +
After syncing is complete, stop zarafa-gateway service and/or edit /etc/zarafa/gateway.cfg to meet your needs.
       
[[Category: Howto]]
 
[[Category: Howto]]
 
[[Category: Mail]]
 
[[Category: Mail]]

Navigation menu