[Dovecot] dsync mbox->mdbox: Unexpectedly lost From-line and other issues from a big conversion.
Axel Thimm
Axel.Thimm at ATrpms.net
Tue Nov 16 12:01:13 EET 2010
On Mon, 2010-11-15 at 18:32 +0000, Timo Sirainen wrote:
> On 15.11.2010, at 18.15, Axel Thimm wrote:
>
> >> dsync2.log.old1:dsync(user): Error: Next message unexpectedly lost from mbox file /home/user/mail/lists/mplayerhq.hu/ffmpeg-devel at 58706201 (cached)
> >> dsync2.log.old1:dsync(user): Error: Next message unexpectedly lost from mbox file /home/user/mail/lists/gnupg.org/gnupg-users at 6507197 (cached)
>
> Looks like public mailing list archives. Could you put the mbox file(s) somewhere I can download them? Maybe I can easily reproduce the problem.
I sent you the URL in PM.
I checked the files and the mentioned offsets are one line off the next
from_ line. It looks like a content-length mismatch.
They also seem to mix CR+LF and simple LF endings within the same mail.
For example an otherwise CR+LF encoded mail would have a few headers w/o
CR at the bottom inserted (by dovecot?). Maybe the content-length
computation was therefore a few lines off.
I can probably salvage these mboxes by grepping out the content-length
header, but I wonder why the content-length header are off.
--
http://thimm.gr/ - http://ATrpms.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20101116/ab3b9424/attachment.bin
More information about the dovecot
mailing list