Author Topic: managesieve on russian  (Read 2586 times)

Offline soromir

  • Jr. Member
  • **
  • Posts: 15
managesieve on russian
« on: January 10, 2018, 07:44:36 AM »

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
Code: [Select]
# 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
Code: [Select]
MIME-Version: 1.0
Content-Type: multipart / alternative;
 boundary = "= _ c7708e9a8b4586664b40e24c273388fb"
Date: Wed, 10 Jan 2018 14:09:23 +0200
From: testemail@test.com
To: testemail@test.com
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.