Op 8-7-2016 om 6:53 schreef ???:>
> 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?
I cannot reproduce this problem here. What version of Dovecot and
Pigeonhole are you using?
Regards,
Stephan.>