Delayed expunge / undeleting messages

Michael Menge michael.menge at zdv.uni-tuebingen.de
Thu Jan 18 05:36:58 EST 2007


Hi

run unexpunge as user cyrus

unexpunge [-C <altconfig>] -l <mailbox>
unexpunge [-C <altconfig>] -a [-d] [-v] <mailbox>
unexpunge [-C <altconfig>] -u [-d] [-v] <mailbox> <uid>...




Quoting Janne Peltonen <janne.peltonen at helsinki.fi>:

> Hi!
>
> The purpose of the delayed expunge mode appears to be to reduce the
> amount of disk I/O during expunge and add responsiveness to the client.
> But I've been thinking... I've got lots of users that accidentally
> delete important messages, and sometimes even ask us immediately after
> deleting (and expunging) those messages if they could be recovered. Now
> if the message was alive last night when we backed the system up, it
> could be recovered. But if the message was new, it couldn't.
>
> But if there is a delay in expunging the message, the file containing
> the mesage might just lie around in the mail spool, and could be
> identified reasonably easily. Is there a way to add the message back
> to the index? A quick hack would probably be something like copying the
> message file to N., where N is an unused message number, and
> reconstructing the mailbox. But is there another way? I always feel
> uncomfortable writing stuff to the mailspool bypassing Cyrus.
>
>
> --Janne Peltonen
> Email admin
> Univ. of Helsinki
> ----
> 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
>



--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5469 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070118/ec2d91ce/smime-0001.bin


More information about the Info-cyrus mailing list