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