[Dovecot] Crash test :)

Timo Sirainen tss at iki.fi
Mon May 23 16:25:50 EEST 2011


On Sun, 2011-05-22 at 07:27 +0200, Kamil Jońca wrote:
> >>> 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
> 
> 
> Unfortunately neither debian 2.0.12 nor 2.0.13 version can import
> these. Strange thing is that message "Invalid dbox header size" is
> printed after  creating "dovecot-uidvalidity" and dovecot-index* files
> for source dbox, u.* files are  not read at all.

Oh. I think it's entirely possible that current v2.0 can't really read
v1.x dbox without giving errors..




More information about the dovecot mailing list