cyrus: delete previously deleted messages(after backup recovery)
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Wed Apr 23 11:06:26 EDT 2014
Hi
Quoting Y B <ybpubs at gmail.com>:
> OK, I managed to reconstruct my test mailbox. The files that were in my
> directory structure but not visible in the mailbox are now all visible in
> my email client.
> Unfortunately, the cyrreconstruct command is not verbose at all and I
> cannot see the filenames corresponding to rediscovered emails (so I cannot
> delete them...).
> Any clue?
>
>
...
>>
>> My version of cyrus : 2.2.13
Cyrus 2.2.13 is very old. AFSIR the -n feature was added in 2.4.x.
Updating in this situation might do harm, as the metadata format
changed in 2.4.x
I think there are no reconstruct options or other tools, to remove the
deleted mails out of the box, but the information which mails where in
the mailbox are stored in the cyrus.index file.
See
http://git.cyrusimap.org/cyrus-imapd/tree/doc/internal/mailbox-format.html?h=cyrus-imapd-2.2
So you may be able to write a tool to parse the file.
Regards
Michael Menge
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universität Tübingen Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5425 bytes
Desc: S/MIME Signatur
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20140423/705790f7/attachment-0001.bin
More information about the Info-cyrus
mailing list