On Sun, 2007-08-05 at 20:03 +0800, Tan Shao Yi wrote:
dovecot: Aug 05 19:53:36 Error: IMAP(XXXXXXXXXXXX): FETCH for mailbox Bulk Mails UID 32 got too little data: 9199 vs 39532
This means that Dovecot thought the message had 39532 bytes. It either looked this up from dovecot.index.cache file or from the ,S=39532 part in maildir filename. But when the message was being read, EOF was found after 9199 bytes.
So, does the maildir filename have the ,S= part? If yes, remove it and figure out why it was wrong to prevent this in future. Otherwise delete dovecot.index.cache and see if it helps. Would be nice to figure out why that would happen too..
It would also be nice if Dovecot fixed this situation itself, but unfortunately it's not very simple with the current code and so far there haven't been many complaints.