Imapsync migrating to a new server
From Zarafa wiki
To migate old mail from an old mailserver to a new Zarafa server you can use:
root@zarafa:~# imapsync --noauthmd5 --host1 mail.old --user1 userold --password1 passw1 -sep2 / --prefix2 "" --host2 zarafa.new --user2 usernew --password2 passw2
The option --noauthmd5 to use an other authentication system
The --sep2 / is to define the used separator for zarafa
The --prefix2 "" To define the basic start map
Note: password is plain text and is readable, it is possible to use ssl when you put extra options (man imapsync)