[Dovecot] Dovecot truncating messages and/or attachments

Timo Sirainen tss at iki.fi
Fri Dec 21 19:15:56 EET 2007


On Tue, 2007-12-11 at 18:21 -0800, fp at kraptastic.com wrote:
> The /var/log/maillog has hundreds of these:
> Dec 11 16:27:42 le1 dovecot: POP3(xxx at xxx): Corrupted transaction log file
> /var/spool/postfix/virtual/xxx.com/xxx at xxx/dovecot.index.log: unexpected
> end of file while reading header
> 
> I turned made it so the mail stays on the server, so i can see that the
> mail stored there by postfix is the correct size. When email clients
> download mail through pop3 or pop3s it only downloads 4,8, or 12 k worth
> of the email (whether it has attachments or not). Here is an example
> transaction:

Somehow all of this sounds like there's something wrong with your
system, as if pread() randomly returns 0 even though there is more data
in the file.. What filesystem do you use?

You could try if removing HAVE_PREAD from config.h and recompiling
helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071221/afd8182c/attachment.bin 


More information about the dovecot mailing list