[Dovecot] Crash test :)
Timo Sirainen
tss at iki.fi
Sat May 21 01:30:22 EEST 2011
On 21.5.2011, at 1.21, Kamil Jońca wrote:
>>>> 2. when I move dbox-Mails to proper place I got:
>>>>
>>>> doveadm(kjonca): Error: sdbox /home/kjonca/Mail/dbox-temp/spamcop/reports/mailboxes/INBOX/dbox-Mails: Invalid dbox header size
>>>
>>> What Dovecot version? I think this is fixed already.
>>
>> Um. :( Files were created about 2 months ago. It was certainly 1.x, but
>> now it is hard to say, what exactly version it was.
>
> But question is open: Can I (and how) restore mails from so old backup?
Dovecot v2.0 should be able to read v1.x's dbox files. If it can, it can restore the backups. The only difference I can think of is that in some version I changed the default to have dbox save everything under "mailboxes/" directory. If your backups don't use that directory, you can use something like:
doveadm import sdbox:~/Mail/dbox-temp:MAILBOXDIR= "#Dbox" mailbox spamcop/reports
More information about the dovecot
mailing list