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
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091214/b588c72b/attachment-0002.bin>
On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen <tss at 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
On 12/14/2009 09:59 PM Andrew A. Polyakov wrote:> On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen <tss at 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.0934822 at localdomain.org
On Mon, 14 Dec 2009 15:50:40 -0500, Timo Sirainen <tss at 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.Thanks. The problem was in roundcube. -- ? ?????????, ?????? ?. ??????? ???? ??? ????? http://www.omgau.ru ???.: +7 (3812) 65-00-09 644008, ?. ????, ???????????? ???????, 2