[Dovecot] SiS: Attachment file larger than expected

Andrew Lewis andrew at sybaweb.com
Mon Mar 28 17:00:18 EEST 2011


Hi Timo,

> > I recently set up SiS and imported a large chunk of mail.
> With dsync?

Using fetchmail (delivery via LMTP) and imapsync, dsync does not support the mail storage I moved away from.

> Do you think it's possible for you to reproduce this? If you have the original pre-dbox mail and you convert it to a new
> and empty dbox+sis and reading it gives this error message, I'd really like to get the original mail.

Yes, I was able to reproduce this (by imapsync'ing the old mailbox and then sync'ing the copy elsewhere):

Mar 28 15:54:38 mail dovecot: imap(dru.test at xxx): Error: Attachment file /mailstore/attachments/ce/73/ce737a45fe07495e2ae6466f9e381a30d5ec300406f11269d79bd5608cc0c922-e2ff0d2b0692904dc51b00009501e12a larger than expected (252218)
Mar 28 15:54:54 mail dovecot: imap(dru.test at xxx): Error: Attachment file /mailstore/attachments/ad/16/ad1634c6cd19fd3cfb5b924bfa1ca8bf57075c760da29c16669a261af4edf11c-e0e90f379b92904dc72400009501e12a larger than expected (135722)
Mar 28 15:54:54 mail dovecot: imap(dru.test at xxx): Error: FETCH [] for mailbox Backup/Sent Items UID 81 got too little data: 1253411 vs 1253413
Mar 28 15:54:54 mail dovecot: imap(dru.test at xxx): Error: Corrupted index cache file /mailstore/sybaweb.co.za/dru.test/mailboxes/Backup/Sent Items/dbox-Mails/dovecot.index.cache: Broken virtual size for mail UID 81

How best to extract the problem e-mail to send it to you?

> > Could that be an indication of a hash collision?
> Highly unlikely. There have been other similar error reports, so I know there's a bug somewhere. I just don't really know
> where. I haven't managed to reproduce any SIS errors with any of my tests.

Good to hear. I didn't think I'd be that unlucky (though suspected I could be).

-- 
Andrew Lewis <andrew at sybaweb.com>


More information about the dovecot mailing list