[Dovecot] v1.1.0 released

Timo Sirainen tss at iki.fi
Sat Jun 21 16:22:15 EEST 2008


On Sat, 2008-06-21 at 15:12 +0200, Ralf Hildebrandt wrote:
> * Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> > * Timo Sirainen <tss at iki.fi>:
> > 
> > > http://hg.dovecot.org/dovecot-1.1/rev/5a1cc688483b fixes this. I guess
> > > it's time for v1.1.1 soon. :(
> > 
> > Checking out, rebuilding...
> 
> Nope, still there (the change is in my sources, I restarted dovecot):
> 
> Jun 21 15:06:36 postamt dovecot: Dovecot v1.1.0 starting up
> Jun 21 15:09:02 postamt dovecot: IMAP(hwaiczie): Broken file /home/h/w/hwaiczie/Maildir/dovecot-uidlist line 460: UID larger than next_uid (12528 >= 12528)

They probably come from files that were already corrupted by the
previous version. At least I can't reproduce the error anymore myself.

Here's a script that can detect them:

perl -e '$hdr=0; while (<>) { if (!$hdr) { $oldhdr = 1 if (/^1/); $hdr=1; } elsif ($oldhdr && /^\d+ :/) { print "broken\n"; last; } }' < dovecot-uidlist

You could fix the files by dropping those lines that have ':' character.
Although then it'll probably give errors about expunged messages
reappearing, or something like that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080621/1d180348/attachment.bin 


More information about the dovecot mailing list