I recently set up SiS and imported a large chunk of mail. I've noticed one or two instances of this in the logs: Mar 28 09:03:50 mail dovecot: imap(xxx at yyy.zz): Error: Attachment file /mailstore/attachments/ce/73/ce737a45fe07495e2ae6466f9e381a30d5ec300406f11269d79bd5608cc0c922-822b3d2df67f8e4d7f5000009501e12a larger than expected (252218) Mar 28 14:52:34 mail dovecot: pop3(zzz at xxx.yy): Error: Attachment file /mailstore/attachments/c5/e1/c5e13d671d1d796680ae7166363afcb819af3d9cd04e01de7d65031b2f732bdf-b2ecf918b910904d826200009501e12a larger than expected (143959) Could that be an indication of a hash collision? No problem reports from the affected users. Output of du -b below: 186572 /mailstore/attachments/ce/73/ce737a45fe07495e2ae6466f9e381a30d5ec300406f11269d79bd5608cc0c922-822b3d2df67f8e4d7f5000009501e12a 106489 /mailstore/attachments/c5/e1/c5e13d671d1d796680ae7166363afcb819af3d9cd04e01de7d65031b2f732bdf-b2ecf918b910904d826200009501e12a Both attachments are PDF documents. I'm using Dovecot 2.0.11 + changesets d3d6ed6d268b and 890a46b3ab63 from git. -- Andrew Lewis <andrew at sybaweb.com>
On 28.3.2011, at 16.25, Andrew Lewis wrote:> I recently set up SiS and imported a large chunk of mail.With dsync?> I've noticed one or two instances of this in the logs: > > Mar 28 09:03:50 mail dovecot: imap(xxx at yyy.zz): Error: Attachment file /mailstore/attachments/ce/73/ce737a45fe07495e2ae6466f9e381a30d5ec300406f11269d79bd5608cc0c922-822b3d2df67f8e4d7f5000009501e12a larger than expected (252218)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.> 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.
Seemingly Similar Threads
- Curious problem: Plaintext authentication disallowed on non-secure (SSL/TLS) [read: all] connections.
- dovecot-1.2.8 imap crash (with backtrace)
- [LLVMdev] asan coverage
- SIS: Corrupted dbox file /dane/...../m.1 (around offset=98692): uid=44 points to broken data at offset=98662
- What is the recommended way to delete a message from a mailbox ?