Our old ISPConfig running Ubuntu 12.04 had a disk failure and ended up with a partly corrupted file system. To reduce downtime we created a new server running Ubuntu 14.04 with ISPConfig 3.0.5.4 and added the mailboxes. Users who used POP, had minimal downtime, but they who used IMAP, lost e-mail lying on the old server. We have been able to mount the disk from the old server and retrieved some mailboxes, do any one know of a handy way to merge the existing mailboxes on the new server, with those from the old one?
If you use dovecot2, you can do this with with dovecot´s replication. You can also use rsync to keep both /var/vmail at the same stage.
I do not want a mirror, but to import mail from the old disk into the new server (without overwriting messages that do only exist on the new server)
Just copy over the whole Maildir structure with Rsync. each message has its own file with its own name, so you won't overwrite other messages on the new system.