[Dovecot] BUG with Maildir/cur/:2, (was Re: Broken files?)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Oct 28 16:29:42 EET 2013


-----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-----


More information about the dovecot mailing list