Changes

From SME Server
Jump to navigationJump to search
1,345 bytes added ,  20:26, 26 September 2008
Line 160: Line 160:     
http://download.zarafa.com/zarafa/release/docs/zarafa_migration.en.pdf
 
http://download.zarafa.com/zarafa/release/docs/zarafa_migration.en.pdf
 +
 +
====Performing IMAP migration from SME/IMAP to Zarafa/IMAP====
 +
 +
Configure zarafa-gateway for migration enabling IMAP on port 144 only
 +
 +
nano /etc/zarafa/gateway.cfg
 +
pop3_enable    =      no
 +
pop3s_enable    =      no
 +
imap_enable    =      yes
 +
imap_port      =      144
 +
imaps_enable    =      no
 +
 +
/etc/rc.d/init.d/zarafa-gateway start
 +
 +
Get imapsync and required perl module
 +
 +
wget http://dag.wieers.com/rpm/packages/perl-Mail-IMAPClient/perl-Mail-IMAPClient-2.2.9-1.2.el4.rf.noarch.rpm
 +
yum localinstall perl-Mail-IMAPClient-2.2.9-1.2.el4.rf.noarch.rpm
 +
 +
wget http://www.linux-france.org/prj/imapsync/dist/imapsync-1.264.tgz
 +
tar -zxvf imapsync-1.264.tgz
 +
cd ./imapsync-1.264
 +
make install
 +
 +
Perform a user mail sync from SME/IMAP (host1/port1) to Zarafa/IMAP (host2/port2)
 +
 +
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.
87

edits

Navigation menu