My old server was cloned to a new machine, but all mails for a certain date range were not copied over.. If I look in each user's mailbox, all mail files for a certain date range are missing. I did find the files on a backup image however.
How can I copy the missing mails from the backup into each user's mailbox? Is there a doveadm command that can copy from one mailbox path to another? (I guess just copying the files is a bad idea.)
Best Answer
Isn't it what you're looking for?
http://wiki2.dovecot.org/Tools/Doveadm/Move