Re: Corrupted sizes using zlib plugin
Am 06.03.23 um 11:42 schrieb Aki Tuomi:
Did that already several times (other dovecot.index.* files too). The only thing that helps is actually deleting the dovecot-uidlist file but the problem returns.
Tim
I think it's because the value on the filename is wrong. The filename contains the virtual and physical size.
Can you try if https://github.com/dovecot/tools/blob/main/maildir-size-fix.pl fixes your issue?
Aki
Am 06.03.23 um 11:59 schrieb Aki Tuomi:
Quoting
https://doc.dovecot.org/configuration_manual/zlib_plugin/ :
"All mails must have ,|S=<size>|in their filename where <size> contains the original uncompressed mail size, otherwise there will be problems with quota calculation as well as other potential random failures."
And the script you send:
"# Check if the files are compressed. Use the uncompressed size for S=size."
Which it does in my example. S= contains the uncompressed size, not the size on disk. Is this not correct? All Files are written exclusively by dovecot, no other software is involved.
Tim
Can you send output from doveconf -n
? I am having suspicion that zlib plugin isn't always involved in your config, which causes the compressed file to be cached wrongly. Especially it feels like your IMAP protocol does not have compression on while LMTP does.
Aki
participants (2)
-
Aki Tuomi
-
Tim Evers