0

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.)

nielsbot
  • 223
  • 1
  • 3
  • 9

1 Answers1

0

Isn't it what you're looking for?

http://wiki2.dovecot.org/Tools/Doveadm/Move

alxgomz
  • 1,630
  • 1
  • 11
  • 14
  • seems like that is for mailboxes for users known to dovecot... I have a set of messages on a backup drive... they're not inside my dovecot mailboxes folder. – nielsbot Oct 06 '14 at 18:10
  • Well if your cloned image doesn't ship a full dovecot server, then your best bet is probably to copy the backup folders forceach user to a "restore" sub folder of their mailbox, reindex and let them cherry pick their missing content. – alxgomz Oct 07 '14 at 06:03