I used the script to download and build imapsync and all of the required packages.
User Migration - Zimbra :: Wiki
Installation works, but there is an error if I start script with imapsync --......... The folders with the mails are listed and then this error:
Can't locate Date/Manip.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/imapsync line 1337.
Hope, someone can help me.