a question about dovecot-sieve
刘莹莹
yingying.liu at cs2c.com.cn
Fri Jul 8 04:53:31 UTC 2016
question discribe:
example:
> vim .dovecot.sieve
require
["fileinto"];
# rule:[filter1]
if anyof (header :contains "Subject"
"测试邮件")
{
fileinto "sieve";
}
when i write a mail ,give subject
"这是一封测试邮件" , then server convert this subject to "
SUBJECT:
=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=B8=80=E5=B0=81=E6=B5=8B=E8=AF=95=E9=82=AE?=
=?UTF-8?Q?=E4=BB=B6?=
"
the essential question is when the mail go
through dovecot-sieve plugin, the sieve plugin get mail subject is "这是一封测试邮
件" not "这是一封测试邮件",there is a extra space added(which as segmentation
between "=?UTF-8?Q?").
SIMPLY SAY:edit subject"这是一封测试邮件" ——>server convert
"SUBJECT:
=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=B8=80=E5=B0=81=E6=B5=8B=E8=AF=95=E9=82=AE?=
=?UTF-8?Q?=E4=BB=B6?="——>sieve plugin get "这是一封测试邮 件"
The result is filter
failure. is this a bug ? How can I avoid it?
thanks
More information about the dovecot
mailing list