[Dovecot] Encoding dovecot keywords

Timo Sirainen tss at iki.fi
Sun Apr 10 13:57:53 EEST 2011


On 9.4.2011, at 13.41, Алексей Сундуков wrote:

> Ok, but if I write my own MUA application? If different MUA use it's
> own encoding format I think it's bad, very very bad way. Because
> application can't decode keywords written by another application.

Yeah, it sucks.

> Can someone known a solution to this problem?

No. You could try proposing a standard though. http://www.washington.edu/imap/lists/imap-protocol.html

> 2011/4/9 Michael M Slusarz <slusarz at curecanti.org>:
>> Quoting Алексей Сундуков <public-mail at alekciy.ru>:
>> 
>>> But I can't understand what encoding use dovecot for keywords? I set
>>> "тест" (number 5) keyword:
>>> 
>>> cat dovecot-keywords
>>> 0 &bcienqrbbeiepgqybdaetw-_&bdwenqrcbdoema-
>>> 1 test
>>> 2 $label1
>>> 3 $label2
>>> 4 $label3
>>> 5 &beienqq6beeeqg-
>>> 
>>> but "&beienqq6beeeqg-" do not convert to "тест". Why?
>> 
>> Because only mailboxes are encoded in Modified UTF-7.  There is no
>> equivalent encoding for keywords.  Keywords are *not* meant to be directly
>> viewable by an end-user.  Converting between a keyword and the
>> representation displayed to the user is the job of the MUA.
>> 
>> michael
>> 
>> 
> 



More information about the dovecot mailing list