On Tue, 2007-12-11 at 18:21 -0800, fp@kraptastic.com wrote:
The /var/log/maillog has hundreds of these: Dec 11 16:27:42 le1 dovecot: POP3(xxx@xxx): Corrupted transaction log file /var/spool/postfix/virtual/xxx.com/xxx@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.