On Fri, Feb 13, 2009 at 12:32 AM, Timo Sirainen <tss@iki.fi> wrote:
On Fri, 2009-02-13 at 00:10 +0100, Diego Liziero wrote:
dovecot: Feb 11 16:07:27 Error: IMAP(dumontj): FETCH for mailbox Sent UID 7139 got too little data: 11112 vs 11160 .. When this error appears, the last mail attachment is actually truncated.
Any idea if the saved data simply isn't written / is truncated, instead of the following message overwriting it? i.e. has this happened to the last message in the mbox file (with uid = next_uid-1 to make sure the last message wasn't actually expunged)?
Sorry, no idea. There is always a delay between when the error is written in dovecot.log and when I and ask the user what happened. The truncated message is always one of the latest in the mbox, but I can't tell if it happens when the message is the last one.
Maybe a debug message that logs the latest mbox uid together with the "FETCH for mailbox Sent UID 7139 got too little data : 11112 vs 11160" message could help. Or maybe a debug extra check that reads every newly written mbox mail if it's actually written up to the last byte...
Diego.