13 Dec
2011
13 Dec
'11
10:56 a.m.
On 13.12.2011, at 10.50, Joseba Torre wrote:
Terry's solution feels great: just a little modification of the mdbox, adding a ¿text? file with the list of attachment files, that is modified every time an attachment is added/deleted.
I'd rather not implement that. It makes dbox more fragile and less efficient.
With that, it seems quite easy to modify our mailbox recovery script to something like:
- recover the mailbox as now
- recover every attachment file that file points to.
Other option: a new doveadm option that could generate this list, and then recover the mailbox, generate the list, recover the attachments.
That would be possible. You could actually already do it with v2.1's "doveadm dump", which outputs dbox file's metadata.