Re: Delayed delete, restoring deleted mailboxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 17, 2009 at 03:06:15PM +0200, Leena Heino wrote:
> On Tue, 17 Mar 2009, Adam Tauno Williams wrote:
> 
> > On Tue, 2009-03-17 at 13:26 +0200, Leena Heino wrote:
> >> What is the recommended process to restore deleted messages or mailboxes
> >> when delayed delete is in use?
> >
> > Use the unexpunge command;  the man page isn't bad, and I have examples
> > and some notes in the Cyrus chapter of WMOGAG
> > <http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>.
> 
> The unexpunge command was the first thing I tried and I read it's man 
> page. But what puzzles me is that it seems that the deleted mailboxes 
> are not shown in unexpunge commands output.
> 
> The mailbox meta files and mailbox's messages are shown in the spool dir 
> under the DELETED prefix eg. in the directory:
> /cyrus_spool/u/DELETED/user/foo/sent-mail/HEXSTRING/

(that HEXSTRING is a hexified time_t from when it was deleted by the
way)

> What is the correct procedure the restore this mailbox so that user is 
> able see the messages and access it once again.

Yeah, this is a missing feature, for sure.  We use custom in-house stuff
to restore backups, which can also fetch files out of the DELETED
namespace - but the cyrus tools need to be extended to support it too.

Bron.

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux