On Tue, 2010-09-07 at 16:24 +0100, Timo Sirainen wrote: > On Tue, 2010-09-07 at 15:59 +0100, Timo Sirainen wrote: > > OK, I can reproduce this. It happens only with LMTP, because only then > > it can do a mailbox sync around the time of mail delivery. It probably > > also only happens when LMTP delivers the same mail to multiple > > recipients. > > > > Now I'll just need to figure out how to fix this properly.. The maildir > > uidlist code is getting pretty ugly. > > http://hg.dovecot.org/dovecot-2.0/rev/65b0e7b4eda9 should fix it. > Although looks like it's still doing unnecessary extra work.
And http://hg.dovecot.org/dovecot-2.0/rev/c7e1c71c5ec5 fixes the extra work.