Roundcube Community Forum

 

managesieve - mangled folder names

Started by kondybas, December 21, 2009, 11:40:42 AM

Previous topic - Next topic

kondybas

Hi everybody!

I've enable managesieve plugin distributed with RC3. Everything works fine except trouble with destination folders named in cyrillic.

In a maildir tree "INBOX.ั‚ะตัั‚" is represented in UTF as ".INBOX.&BEIENQRBBEI-"  Sieve file "dovecot.sieve"  contains:

require ["fileinto"];
# rule:[Google-mail]
if anyof (header :contains "From" "gmail")
{
        fileinto "INBOX.&BEIENQRBBEI-";
}

But when dovecot deliver message, it used  "INBOX.&-BEIENQRBBEI-" as target:

"INBOX.&-BEIENQRBBEI-"
instead of
"INBOX.&BEIENQRBBEI-"

How can I say to dovecot to NOT mangle filenames?


Thanks beforehand!


------------------------------------------------------------
P.S.

Seems that this is not only dovecot imap/sieve problem.
1. Dovecot store message in the newly created folder with mangled name "INBOX.&-BEIENQRBBEI-" instead "INBOX.&BEIENQRBBEI-"
2. RC's Settings-Folders manager shows that folder as "INBOX.&BEIENQRBBEI-", not as "INBOX.&-BEIENQRBBEI-"
3. If I've subscribe shown "INBOX.&BEIENQRBBEI-" in folder manager, I have an access to the content of "INBOX.&-BEIENQRBBEI-" on a disk...

IMHO something going wrong with non-latin folder name encoding.

Have a nice day

kondybas

So, does anybody also have problems with managesieve and non-latin names of destination folders? Or that's happens only with my system?

If you please, try to direct a message into the subfolder with non-latin name, let me know the results.

Thanks beforehand!

alec

Set $rcmail_config['managesieve_mbox_encoding'] = 'UTF-8';

kondybas

Thanks alot! Now everything work just perfectly!

Best wishes and regards!