[Dovecot] Dovecot 2.0.beta5: dovecot-uidlist: Duplicate file entry at line X
Hi,
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)
All data is stored on local disk (ext3, no NFS!). As this is a fresh installation of dovecot I do not know if older versions work better. One user complained about loosing email from inbox but I guess that's probably a user error :)
I think that the error might be related to deliveries via LMTP as this (new) functionality has not been tested extensivly (?)
Regards, Chris
./configure
--with-pgsql
--with-ioloop=best
--without-shadow
--without-pam
--without-nss
--with-storages=maildir
--without-vpopmail
# 2.0.beta5: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.4 auth_cache_negative_ttl = 60 s auth_cache_size = 10485760 auth_mechanisms = plain login cram-md5 disable_plaintext_auth = no first_valid_gid = 1234 first_valid_uid = 1234 info_log_path = /dev/stderr last_valid_gid = 1234 last_valid_uid = 1234 mail_location = maildir:~/Maildir passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { fts = squat sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_extensions = -reject -vacation -enotify -notify } protocols = imap lmtp managesieve service lmtp { inet_listener { port = 24 } } service managesieve-login { inet_listener sieve { address = 10.2.3.4 } } ssl_cert =
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)
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).
Chris
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?
participants (2)
-
Chris Laif
-
Timo Sirainen