Hello, 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? 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? Thanks in advance, Arnaud -- Arnaud Ab?lard jabber: arnaud.abelard at univ-nantes.fr / twitter: ArnY Administrateur Syst?me DSI Universit? de Nantes -
3 ????? 2012??. 20:06 ???????????? Arnaud Ab?lard <arnaud.abelard at univ-nantes.fr> ???????:> But docevot save keywords in lowercaseYes. http://www.dovecot.org/list/dovecot/2011-April/058493.html
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.