[Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Andrew A. Polyakov
Hello
I have a problem with dovecot-sieve. When I create a folder in russian,
the filter is not working properly. It creates a new folder with the same
name and delivers the letter there.
For example, I created a folder called BD8EQAQ4BDIENQRC-/, but the letter
got in -BD8EQAQ4BDIENQRC-/. In all cases, the difference in the sign -.
The folders in the english language is no problem.

# uname -mrs
FreeBSD 7.2-RELEASE-p3 i386

# pkg_info | grep dovecot
dovecot-1.2.8
dovecot-managesieve-0.11.9
dovecot-sieve-1.2+0.1.13

sieve rule:
# rule:[test]
elsif anyof (header :contains Subject test)
{
fileinto BD8EQAQ4BDIENQRC-;
}

-- 
С уважением, Андрей А. Поляков
ФГОУ ВПО ОмГАУ
http://www.omgau.ru
Тел.: +7 (3812) 65-00-09
644008, г. Омск, Институтская площадь, 2


Re: [Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Timo Sirainen
On Tue, 2009-12-15 at 02:41 +0600, Andrew A. Polyakov wrote:
 dovecot-sieve-1.2+0.1.13
..
 fileinto BD8EQAQ4BDIENQRC-;

With dovecot-sieve you should use UTF-8 for mailbox names, not mUTF-7.
The previous behavior (and behavior by some other Sieve implementations)
is a bug.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Andrew A. Polyakov
On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen t...@iki.fi wrote:
 On Tue, 2009-12-15 at 02:41 +0600, Andrew A. Polyakov wrote:
 dovecot-sieve-1.2+0.1.13
 ..
 fileinto BD8EQAQ4BDIENQRC-;
 
 With dovecot-sieve you should use UTF-8 for mailbox names, not mUTF-7.
 The previous behavior (and behavior by some other Sieve implementations)
 is a bug.

And where is it configured? In dovecot.conf? I use maildir.

-- 
С уважением, Андрей А. Поляков
ФГОУ ВПО ОмГАУ
http://www.omgau.ru
Тел.: +7 (3812) 65-00-09
644008, г. Омск, Институтская площадь, 2


Re: [Dovecot] Problem with dovecot-sieve and russian

2009-12-14 Thread Pascal Volk
On 12/14/2009 09:59 PM Andrew A. Polyakov wrote:
 On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen t...@iki.fi wrote:
 On Tue, 2009-12-15 at 02:41 +0600, Andrew A. Polyakov wrote:
 dovecot-sieve-1.2+0.1.13
 ..
 fileinto BD8EQAQ4BDIENQRC-;
 With dovecot-sieve you should use UTF-8 for mailbox names, not mUTF-7.
 The previous behavior (and behavior by some other Sieve implementations)
 is a bug.
 
 And where is it configured? In dovecot.conf? I use maildir.

Use UTF-8 for mailbox names in your sieve script rules. Dovecot will
still use mUTF-7 when accessing mailboxes/folders.


Regards,
Pascal
-- 
The trapper recommends today: cafefeed.0934...@localdomain.org