hi there... i use this method:
Once you have the master admin set up on dovecot, then imapsyncing user emails without knowing their password is a breeze... been using this method for the 150 or so users we're migrating off an old imap server to zimbra
imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 imap.example.com.au --user1 "username*master" --password1 "dovecot master pwd" --host2 zimbra.example.com.au --user2 username --authuser2 admin --password2 "zimbra admin pass" --authmech1 plain --authmech2 plain --ssl2 --nofoldersizes --skipsize
"username*master" is, imap username of user you are migrating, and master, is the dovcot master userame (default master), and --user2 username, is the destination username for the import.
HTH |