[Dovecot] maildir compressed message fix patch

Timo Sirainen tss at iki.fi
Fri May 2 10:49:12 UTC 2014


On 24.4.2014, at 23.54, Richard Platel <rplatel at tucows.com> wrote:

> When a compressed maildir message has a bad S= size in its filename it puts the user in an unrecoverable state, since maildir's do_fix_size function just does a stat() on the maildir file and saves the compressed size in the filename.

These are also relevant:

http://hg.dovecot.org/dovecot-2.2/rev/1adbd576f320
http://hg.dovecot.org/dovecot-2.2/rev/3b9935fe9cb7

> This (quick, rough, barely tested) patch addresses this issue, it's inefficient, but we're already in a hopefully rare emergency situation.

Well, I implemented this finally now properly: http://hg.dovecot.org/dovecot-2.2/rev/a1831c9896d4



More information about the dovecot mailing list