Running into a weird issue in a mailbox that has 26+ keywords.
In one session, I do this:
S: 2 SELECT "INBOX" (QRESYNC (1255685337 78608 [...uids...])) S: [...] S: * OK [HIGHESTMODSEQ 78608] Highest S: * OK [UIDVALIDITY 1255685337] UIDs valid S: 2 OK [READ-WRITE] Select completed. C: 3 UID STORE 48386 (UNCHANGEDSINCE 78608) +FLAGS AAAAAAAA S: * 8 FETCH (UID 48386 MODSEQ (78609) FLAGS (\Seen AAAAAAAA)) S: 3 OK Store completed. C: 4 LOGOUT S: * OK [CLOSED] Previous mailbox closed. S: * BYE LOGOUT received S: 4 OK Completed
The next time I access that mailbox, I see this:
C: 2 SELECT "INBOX" (QRESYNC (1255685337 78609 [...uids...])) S: [...] S: * OK [UIDVALIDITY 1255685337] UIDs valid S: * OK [HIGHESTMODSEQ 78609] Highest S: * 8 FETCH (MODSEQ (78610) UID 48386 FLAGS (\Seen)) S: 2 OK [READ-WRITE] Select completed.
MODSEQ 78610 is entirely server-initiated.
It *appears* that the mailbox doesn't handle more than 26 keywords.
My dovecot-keywords looks like:
0 $Forwarded [Entries 1-24] 25 Test
"Test" is a keyword I created immediately before "AAAAAAAA". If I
remove Test and then add "AAAAAAAA", the keyword sticks.
Is this a built-in limit? Can't find anything in the config/wiki docs
(Dovecot 2.1.16). Or are my dovecot index/cache files hosed in some
way?
michael
At 4PM -0600 on 6/05/13 you (Michael M Slusarz) wrote:
Running into a weird issue in a mailbox that has 26+ keywords.
You are using Maildir, yes? Maildir stores keywords in the flags field of the message filename, using lowercase letters, so there is a limit of 26 per folder. See http://wiki2.dovecot.org/MailboxFormat/Maildir .
If you need more you need to use dbox instead.
Ben
Quoting Ben Morrow ben@morrow.me.uk:
At 4PM -0600 on 6/05/13 you (Michael M Slusarz) wrote:
Running into a weird issue in a mailbox that has 26+ keywords.
You are using Maildir, yes? Maildir stores keywords in the flags field of the message filename, using lowercase letters, so there is a limit of 26 per folder. See http://wiki2.dovecot.org/MailboxFormat/Maildir .
Ben,
Thanks for the pointer (looks like I was foolishly doing a 'keyword'
Title search on the wiki and never did a 'keyword' Text search).
However, I still think there is a bug. That page states:
"This means that only 26 keywords are possible to store in the
maildir. If more are used, they're still stored in Dovecot's index
files."
This is not happening for me though. Instead all keywords above 26
are lost immediately after applying them.
michael
At 7PM -0600 on 6/05/13 you (Michael M Slusarz) wrote:
Quoting Ben Morrow ben@morrow.me.uk:
At 4PM -0600 on 6/05/13 you (Michael M Slusarz) wrote:
Running into a weird issue in a mailbox that has 26+ keywords.
You are using Maildir, yes? Maildir stores keywords in the flags field of the message filename, using lowercase letters, so there is a limit of 26 per folder. See http://wiki2.dovecot.org/MailboxFormat/Maildir .
Thanks for the pointer (looks like I was foolishly doing a 'keyword'
Title search on the wiki and never did a 'keyword' Text search).However, I still think there is a bug. That page states:
"This means that only 26 keywords are possible to store in the
maildir. If more are used, they're still stored in Dovecot's index
files."This is not happening for me though. Instead all keywords above 26
are lost immediately after applying them.
Hmm, I missed that... I don't know, I'm afraid, so I'll just ask the usual questions: which version of Dovecot are you using, have you tried the latest...?
Ben
On 7.5.2013, at 1.10, Michael M Slusarz slusarz@curecanti.org wrote:
Running into a weird issue in a mailbox that has 26+ keywords.
http://hg.dovecot.org/dovecot-2.1/rev/7389ff729d2e should help.
participants (3)
-
Ben Morrow
-
Michael M Slusarz
-
Timo Sirainen