[Dovecot] keywords/flags questions
tss at iki.fi
Sat Mar 3 19:05:13 EET 2012
On 3.3.2012, at 18.06, Arnaud Abélard wrote:
> I am currently using dovecot 2.0.13 and I have been working on keywords handling our webmail and I have a few questions about how dovecot handles them.
> First, if I am not mistaken keywords neeed to be UTF-7 encoded. That means I need to encode special caracters using values between & and - chars. UTF-7 encoding is case sensitive, &AOA- isn't the same chars as &aoa-. But docevot save keywords in lowercase or am I mistaken?
> For example:
> . STORE 1:1 flags &AOA-_refaire
> * 1 FETCH (FLAGS (&aoa-_refaire))
> This makes retrieving the keyword properly impossible. What did I miss?
Sorry, doesn't work like that. This was recently discussed in imap-protocol mailing list though, but nothing has come of it.
> My other question is about the permanent flags being displayed upon selecting a mailbox. I'm trying to understand why unused keywords are still showing up in there. Is there a way to force the definitive removal of a keyword from a mailbox? are old keywords kept undefinitely?
For now yes. I've been thinking about doing something about this for last 8 years, but it has never become a real problem so I haven't bothered.
More information about the dovecot