Roundcube Community Forum

 

managesieve on russian

Started by soromir, January 10, 2018, 07:44:36 AM

Previous topic - Next topic

soromir


Good afternoon. Faced the problem of adding the rule condition to the managesieve in Russian.
Exp.
subject contains "hello world"
We send the letter with the same subject. Nothing happens.

I'm dumbing down that managesieve writes down a type rule

# rule: [new filter ru]
if allof (header: contains "subject" "no mailhog привет мир")
{
<------> set "filtername" "new_filter__ru";
<------> addflag "filter __ $ {filtername}";
<------> fileinto "Public / Archive";
}

The letter that came with the subject "привет мир" on the server looks like this

MIME-Version: 1.0
Content-Type: multipart / alternative;
boundary = "= _ c7708e9a8b4586664b40e24c273388fb"
Date: Wed, 10 Jan 2018 14:09:23 +0200
From: [email protected]
To: [email protected]
Subject: =?UTF-8?Q?no_mailhog_=D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D1=82_=D0=BC?=
=?UTF-8?Q?=D0=B8=D1=80?=


Thx.