Re: [Dovecot] Fixing bad maildir message sizes

2013-01-22 Thread Richard Platel
Thanks Timo. I was writing out corrupted dovecot-uidlist files, fixing that solved the issue. Attached is a script that fixes message names. It's not fully QA'ed yet, and uses some of our site-specific stuff to figure out who owns the maildir and to boot the user while making changes, but migh

Re: [Dovecot] Fixing bad maildir message sizes

2013-01-22 Thread Timo Sirainen
On 21.1.2013, at 21.54, Richard Platel wrote: > As stated in my previous message, we have some old compressed maildir > messages with incorrect sizes in the filename. These messages cause dovecot > 2.x problems. > > I'm trying to write a script to crawl all our messages, check the actual > m

[Dovecot] Fixing bad maildir message sizes

2013-01-21 Thread Richard Platel
Hello. As stated in my previous message, we have some old compressed maildir messages with incorrect sizes in the filename. These messages cause dovecot 2.x problems. I'm trying to write a script to crawl all our messages, check the actual message size and if necessary, fix the filename. How