On 2.8.2012, at 10.09, Robert Schetterer wrote: > Hi Timo, most of the Problems are fixed now > many thx for your script > > , but how to avoid that in future ( Maildir filename has wrong S value )
You'd need to find out why it started happening in the first place. What software wrote those filenames? Are new filenames still creating with wrong S value? Does your dovecot.conf use zlib plugin globally (instead of only in some protocol sections, which might cause this kind of trouble)? > you released a patch > > diff -r 3599790da3d7 src/lib-storage/index/istream-mail.c > --- a/src/lib-storage/index/istream-mail.c Wed Mar 21 14:25:12 2012 +0200 > +++ b/src/lib-storage/index/istream-mail.c Wed Mar 21 17:58:00 2012 +0200 > @@ -20,6 +20,7 @@ > struct mail *mail = mstream->mail; > enum mail_lookup_abort orig_lookup_abort; > > + return FALSE; > if (mstream->expected_size != (uoff_t)-1) > return TRUE; > > would it be a good idea to include it in 2.1.9 for me ? > as it looks like its not in the public code ? It's an ugly workaround for the wrong S=size problem when zlib is used. Preferably you wouldn't ever need to use it.