Hello, On Tue, May 14, 2013 at 01:37:48PM +0300, Timo Sirainen wrote: > The maildir filename has wrong S=size value.
That's strange. the ,S= values were all almost certainly set by dovecot version 1:1.2.15-7, so I wonder why they are set incorrectly. > Dovecot should fix this automatically, but since it does it only one failure > at a time it can take a while.. Indeed, I'd suggest that the current behaviour (fix one file, then break the IMAP connection) is a bug. It seems the open() logic is not aware that the filename has been changed. > Other solutions would be to either have Dovecot ignore the value with > maildir_broken_filename_sizes=yes The check is there to protect against truncation/corruption, right? So it would probably be best for it to be left on. > or run a script that fixes the filenames: > http://www.dovecot.org/tools/maildir-size-fix.pl Thanks, something like that resolves the issue for me right now, but I think a more permanent solution would be for dovecot itself to do the fix without breaking the IMAP client connection on a per-file basis. It would be nice to know why a dovecot-to-dovecot upgrade hit this problem too, especially from a Debian packaging POV. Perhaps this script could be packaged *with* dovecot (suitably adjusted for paths etc.)? Thanks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org