On to, 2010-05-20 at 14:26 +0200, Chris Laif wrote:
On Tue, May 18, 2010 at 6:47 PM, Chris Laif chris.laif@googlemail.com wrote:
I'm using dovecot 2.0.beta5 (IMAP and LMTP+sieve) and I'm getting lots of errors like this:
Warning: /data/mail/4567/Maildir/dovecot-uidlist: Duplicate file entry at line 3: 1274182284.M635158P16414.mail,S=767,W=785:2,S (uid 5 -> 16)
Hmm. Can you reproduce this? Like sending a mail while client has the mailbox open?
Update (I really can't believe it but it seems to be true): These errors disappear if the user installs a sieve filter file. It doesn't matter if the filter is simple (e.g. just "keep;") or complex (many rules and fileinto subdirs).
I guess it just changes the timing and somehow happens to fix it.
I couldn't manage to reproduce it. Also this error has previously happened sometimes because of a bug in dovecot-uidlist reading code. It didn't really have duplicate entries, it just thought that it did. That might still be the reason. Maybe you could apply the attached patch and show me what a dovecot-uidlist.broken contains and the related log message?