[Dovecot] Broken physical size caching in Dovecot 2.1.10

Timo Sirainen tss at iki.fi
Tue Feb 19 11:42:24 EET 2013


On 19.2.2013, at 11.39, Rob Redpath <rob.redpath at heartinternet.co.uk> wrote:

>> BTW. http://dovecot.org/tools/maildir-size-fix.pl has been updated to
>> work with compressed files also, making maildir-size-check.sh obsolete.
>> 
>> 
> I had a quick look myself - it looks like it would be! Obviously I can't leave my production system in a state where mail can't be accessed by some of its users - so what would your advice be to work around this?
> 
> I think my options are:-
> - Modify and recompile dovecot so that the affected sub is a no-op and guarantee that filenames will always reflect the uncompressed size of the message through other means
> OR
> - Ensure that the sub never gets called. What condition is it that Dovecot encounters that triggers it to rename a file?

Just run the maildir-size-fix.pl to your existing maildirs and you should have no problems in future?




More information about the dovecot mailing list