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

Timo Sirainen tss at iki.fi
Sat Nov 2 13:34:46 EET 2013


On 28.10.2013, at 16.29, Steffen Kaiser <skdovecot at 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



More information about the dovecot mailing list