Hi Timo,
thanks for the patch.
I applied it, compiled doveadm and tried the new binary but it still baily out with this message:
dsync(user@domain.de): Error: Exporting mailbox INBOX.Sent failed: Can't lookup saved-date for UID=515: Internal error occurred. Refer to server log for more information. [2016-01-10 17:02:08]
Do you have any idea how I can skip these errors ? Thanks Christoph
On Fri, Jan 08, 2016 at 05:39:51PM +0200, Timo Sirainen wrote:
On 08 Jan 2016, at 12:50, Christoph Adomeit <Christoph.Adomeit@gatworks.de> wrote:
Hi there,
I have to migrate data out of a very old (debian 4) and buggy cyrus mailserver. About 40 Users with 200000 Messages each.
Doveadm backup works quite well and gives me most of the mails. About every 100.000 Mail cannot be exported by cyrus. I do not want to bother about these errors. Maybe it is filesystem, maybe it is memory leak, or cyrus bug or whatever.
My problem is that doveadm backup exits with an error if it cannot read a mail.
What does Cyrus reply? Is it a NO reply to FETCH command?
Is there some way or option to make doveadm backup just skip the errors and continue with the next message ?
Not currently. You could try if the attached patch helps. It should write the mail as empty.