Imapsync migrating to a new server

From Zarafa wiki

(Difference between revisions)
Jump to: navigation, search
(Added alternativ to imapsync.)
Line 13: Line 13:
  The option --prefix2 "" is to define the basic starting folder
  The option --prefix2 "" is to define the basic starting folder
-
'''Hint:''' If you don't know all user password in Zarafa, you can change in the gateway.cfg the server_socket to <nowiki>file:///var/run/zarafa</nowiki>. This change allows users to login without a password. Make sure to switch this option back to http://localhost:236/zarafa after the migration!
+
'''Hint:''' If you don't know all user password in Zarafa, you can change in the gateway.cfg the server_socket to <nowiki>file:///var/run/zarafa</nowiki>. This change allows users to login without a password. Make sure to switch this option back to <nowiki>http://localhost:236/zarafa</nowiki> after the migration!
'''Note:''' The password is plain text and is readable, to change this, it is possible to use ssl, when you put in extra options (Read: man imapsync)
'''Note:''' The password is plain text and is readable, to change this, it is possible to use ssl, when you put in extra options (Read: man imapsync)
If you find imapsync confusing and cumbersome to use, you may want to look into [http://www.yippiemove.com/help/batch_migration.html YippieMove Batch Email Migration]. It's much like imapsync, but a web-based. They also offer support for the migration.
If you find imapsync confusing and cumbersome to use, you may want to look into [http://www.yippiemove.com/help/batch_migration.html YippieMove Batch Email Migration]. It's much like imapsync, but a web-based. They also offer support for the migration.

Revision as of 07:47, 5 August 2010

To migrate mail from an IMAP server to a Zarafa server you can use the opensource tool imapsync. This tool synchronize all folders and items from the existing IMAP server to the Zarafa IMAP gateway.

The syntax to use imapsync is:

imapsync --noauthmd5  --host1 mail.old --user1 userold --password1 passw1  -sep2 / --prefix2 "" --host2 zarafa.new --user2 usernew --password2 passw2


Description of the extra options:

The option --noauthmd5 forces authentication with plain password, which the Zarafa gateway only supports
The option --sep2 / is to define the used separator for Zarafa
The option --prefix2 "" is to define the basic starting folder

Hint: If you don't know all user password in Zarafa, you can change in the gateway.cfg the server_socket to file:///var/run/zarafa. This change allows users to login without a password. Make sure to switch this option back to http://localhost:236/zarafa after the migration!

Note: The password is plain text and is readable, to change this, it is possible to use ssl, when you put in extra options (Read: man imapsync)

If you find imapsync confusing and cumbersome to use, you may want to look into YippieMove Batch Email Migration. It's much like imapsync, but a web-based. They also offer support for the migration.

Personal tools