Getting a lot of these error for two specific mailboxes. They repeat many times a day, usually within less than 5 minutes.
mail dovecot: imap(kremels): Error: Broken file /home/kremels/Maildir/.zz.x-tech.2010/dovecot-uidlist line 2: Invalid extended fields: :
$ cat .zz.x-tech.2010/dovecot-uidlist 3 V1263241007 N56581 G11fe2118db236952f984010021d1a38d
OI tried deleting the files that generated the errors, but they were recreated and the errors returned.
(I’m using dovecot2 and Maildir)
-- Death was familiar with the concept of the eternal, ever-renewed hero, the champion with a thousand faces. He'd refrained from commenting.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 24 Oct 2013, LuKreme wrote:
Getting a lot of these error for two specific mailboxes. They repeat many times a day, usually within less than 5 minutes.
mail dovecot: imap(kremels): Error: Broken file /home/kremels/Maildir/.zz.x-tech.2010/dovecot-uidlist line 2: Invalid extended fields: :
$ cat .zz.x-tech.2010/dovecot-uidlist 3 V1263241007 N56581 G11fe2118db236952f984010021d1a38d
OI tried deleting the files that generated the errors, but they were recreated and the errors returned.
the error claims line 2, but the file has just one? Or is the second line present, but empty (just newline).
Is it possible, that two Dovecot instances, maybe two on the same server or via a shared filesystem, access the same mailbox the same time?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUmool13r2wJMiz2NAQKkzAf/SyH0Wes+UTReuXIbXupJkmCXvSUxDb13 +sx99SzBRgQS91jfn0BEwfbzxOvTwsrrp96kUOkTY0CEmR0PdqeiYHp6MebdMiJT NbV+L8fyjQUL0RIAYWpij07o9p8//J81NqfU9N9PO0dk2773SNtzLig6jod9AHyr TX4VCT0XIZMBgZGbuUOogCXcN+O+/Ca3wejMWrSXG5qH7m4kbYRg2vOALbVbpA5C umxqaHmbbzHHaUBCP/MJvqzpinugSn6Bjwmb86a7Y0i7tPvkatSyDfEKeYoMgpen amkzIEIMS+AIpwBFGY8GD3dQ97YiIHnHkftPzW3V68K57H0PAzCwNQ== =QVtk -----END PGP SIGNATURE-----
On 25 Oct 2013, at 02:15 , Steffen Kaiser skdovecot@smail.inf.fh-brs.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 24 Oct 2013, LuKreme wrote:
Getting a lot of these error for two specific mailboxes. They repeat many times a day, usually within less than 5 minutes.
mail dovecot: imap(kremels): Error: Broken file /home/kremels/Maildir/.zz.x-tech.2010/dovecot-uidlist line 2: Invalid extended fields: :
$ cat .zz.x-tech.2010/dovecot-uidlist 3 V1263241007 N56581 G11fe2118db236952f984010021d1a38d
OI tried deleting the files that generated the errors, but they were recreated and the errors returned.
the error claims line 2, but the file has just one? Or is the second line present, but empty (just newline).
Hmm. I think it had just one line.
I *think* I figured it out, the mailboxes that were causing the errors each had a file in them named “:,2” since removing those and removing the dovecot-uidlist the problem hasn’t returned.
-- Monique: He keeps putting his testicles all over me. Lane: Excuse me?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 25 Oct 2013, LuKreme wrote:
hi Timo,
I *think* I figured it out, the mailboxes that were causing the errors each had a file in them named “:,2” since removing those and removing the dovecot-uidlist the problem hasn’t returned.
if the Maildir has the file ":,2" in it, you get two errors the first time you select that mailbox:
Error: Broken file /<root>/Maildir/.t/dovecot-uidlist line 2: Invalid extended fields: : Warning: Fixed a duplicate: /<root>/Maildir/.t/cur/:2, -> 1382969744.M379516P28028.msa
but the ":2," remains in the Maildir. The next time the mailbox changes, e.g after "touch /<root>/Maildir/.t/cur", you only get the first error.
Actually such file should never exist in a Maildir and is most likly not created by Dovecot itself, but for robustness Dovecot could rename such file into some sane name. Tested with
# 2.2.5 (9531ec8afe8b): /usr/local/dovecot-2.2.5/etc/dovecot/dovecot.conf
Thanks,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUm501l3r2wJMiz2NAQJL9wgAngP0olvc68EvOgkEedEOZy+dXXQiMlW8 UfGthUncpUyg9tmNN1g9A11/gn5PUcOC8IF2TQ2z6nXOFgC267X3gC2nZUWI7Qau TYe87AK15QeDeGEON+7KNjlWyQQyBtFgmMVqns/BPHJ6m+qpg4bbQcB3MQQkWiZJ X7IenoC17bf2if6jrmIqCfLIrggYkIdjMOGcX2BWnN6SYIu7Z9cCfF7aHa/UyV98 2G0znFdqUXGXepHVfkQAznZ22g5jgGdUgJ53yC4rDlChltZOYEFTKoz4UQivbawb Q4NL4kN7lKzO2uTf3JQeakM/obYykOHmAFQ13TqFfMaIzGl2WXLSRw== =iOwW -----END PGP SIGNATURE-----
On 28.10.2013, at 16.29, Steffen Kaiser skdovecot@smail.inf.fh-brs.de wrote:
I *think* I figured it out, the mailboxes that were causing the errors each had a file in them named “:,2” since removing those and removing the dovecot-uidlist the problem hasn’t returned.
if the Maildir has the file ":,2" in it, you get two errors the first time you select that mailbox:
Error: Broken file /<root>/Maildir/.t/dovecot-uidlist line 2: Invalid extended fields: : Warning: Fixed a duplicate: /<root>/Maildir/.t/cur/:2, -> 1382969744.M379516P28028.msa
but the ":2," remains in the Maildir. The next time the mailbox changes, e.g after "touch /<root>/Maildir/.t/cur", you only get the first error.
Actually such file should never exist in a Maildir and is most likly not created by Dovecot itself, but for robustness Dovecot could rename such file into some sane name. Tested with
OK, fixed: http://hg.dovecot.org/dovecot-2.2/rev/58dfed53ab43
participants (3)
-
LuKreme
-
Steffen Kaiser
-
Timo Sirainen