I migrated maildir users from an old courier imap install to dovecot on docker alpine:latest. Initially everything seemed great, however, a problem seems to have crept in. Some messages will fail to fetch due to cache size differences, the logs end up looking like this:
- Error read(/mailmessage1) Cached message size smaller than expected
- Error Broken physical size in mailbox
- Error Deleting corrupted cache record
- Error read(/mailmessage1) Cached message size smaller than expected
Not very helpful. Based on this entry here: https://xpufx.com/posts/dovecot_doveadm_failed_cache_message_size_error/
I think I have a mismatch between two service configs, but I am not seeing anything obvious, should I just make zlib a global config?
None of the messages in the maildir are compressed. Not on much on google about this other than some complaints about mbox.