Re: How to Restore emails

2015-11-13 Thread Mark Foley
end up with duplicates. Next time I will restore to a temp directory and check the flags and not restore files with the same name but different flags. --Mark -Original Message- > Date: Fri, 13 Nov 2015 09:08:55 +0100 (CET) > From: Steffen Kaiser > To: Mark Foley > Subject:

Re: How to Restore emails

2015-11-13 Thread Steffen Kaiser
program) over cur, new and tmp2 to find duplicates, delete them in tmp2, and finally "mv -i " (you never know ;-) ) the remaining files from tmp2 to cur or new. -Original Message- Date: Thu, 12 Nov 2015 23:36:52 +0100 From: Heiko Schlittermann To: dovecot@dovecot.org Subject: Re

Re: How to Restore emails

2015-11-12 Thread Mark Foley
ee what happens. I'll report back. --Mark -Original Message- > Date: Thu, 12 Nov 2015 23:36:52 +0100 > From: Heiko Schlittermann > To: dovecot@dovecot.org > Subject: Re: How to Restore emails > > Hi, > > Mark Foley (Do 12 Nov 2015 23:31:39 CET): > &

Re: How to Restore emails

2015-11-12 Thread Heiko Schlittermann
Hi, Mark Foley (Do 12 Nov 2015 23:31:39 CET): > According to a message to this list from Oli Schacher, > http://www.dovecot.org/list/dovecot/2011-June/059493.html, all I need to do > is copy the deleted > emails to their original folder and dovecot will take care of it: > … > > exactly, just c

Re: How to Restore emails

2015-11-12 Thread Mark Foley
I'm going to try it. I've also seen `dovadm import` as a possible suggestion, though if a simple copy works I don't see why anyone would use `dovadm import`. --Mark -Original Message- From: Mark Foley Date: Thu, 12 Nov 2015 17:13:50 -0500 To: dovecot@dovecot.org Subject: How to R

How to Restore emails

2015-11-12 Thread Mark Foley
I have a user who accidentially deleted a large number of emails prior to a certain date. He wants them back. I do have a tarfile backup of these messages. Is there a good way to restore them? Can I simply restore them to the appropriate Maildir directory and dovecot will just "figure it out"