[Dovecot] Broken physical size caching in Dovecot 2.1.10

Timo Sirainen tss at iki.fi
Sat Feb 16 16:50:52 EET 2013


On Wed, 2013-02-13 at 11:49 +0000, Rob Redpath wrote:
> > Dovecot's zlib plugin requires that the maildir filenames
> > have ,S=uncompressed size. Otherwise you get those errors.
> > http://dovecot.org/tools/maildir-size-check.sh can be used to fix the
> > filenames.
> >
> Thanks for this. The problem I'm encountering is that Dovecot renames 
> files, and does so to their size on disk rather than their uncompressed 
> size, undoing any corrective action that's been taken. 

Yeah. It's a bit difficult to change the automated fixing code to work
properly with compressed files without some very ugly kludges.

BTW. http://dovecot.org/tools/maildir-size-fix.pl has been updated to
work with compressed files also, making maildir-size-check.sh obsolete.





More information about the dovecot mailing list