Closed jrse closed 5 years ago
this seems to be a general problem with the zlib plugin. which is independent of our latest changes in #233.
Tests
To test the correct compression/decompression with zlib plugin. The plugin should be activated and proper configured in: dovecot-container: https://github.com/ceph-dovecot/docker-ceph-dovecot-build/issues/1
so that the imaptests and doveadm commands are working with compressed mails.
mdbox configuration in (ceph-dovecot/docker-ceph-dovecot-build#1) to have zlib also availble, or we need to change doveadm backup commands in travis build files.
after #233
using the zlib plugin leads to broken physical size:
imap(t3): Error: Corrupted index cache file /home/jan/dovecot-2.2.21/var/mail/rbox/t3/mailboxes/INBOX/rbox-Mails/dovecot.index.cache: Broken physical size for mail UID 1 Jan 23 17:53:49 imap(t3): Error: read(zlib((buffer))) failed: Cached message size smaller than expected (904 < 1726, box=INBOX, UID=1) Jan 23 17:53:49 imap(t4): Error: read(zlib((buffer))) failed: Cached message size smaller than expected (1070 < 2051, box=INBOX, UID=1)