Autor: Jeremy Harris Data: Para: exim-users Asunto: Re: [exim] Problem with filter on Base64-encoded subject field
On 15/12/2020 18:13, Andreas Metzler via Exim-users wrote: > On 2020-12-15 Kirill Sluchanko via Exim-users <exim-users@???> wrote:
> [...]
>> Subject: =?UTF-8?B?UmU6IFtFWFRFUk5BTF0gUmU6IFJlOiBSZTog0JzQsNGA0YjRgNGD0YLQuNC30LDRhtC4?= Ñ Ð¿Ð¾ÑÑÑ
> [...]
>> echo UmU6IFtFWFRFUk5BTF0gUmU6IFJlOiBSZTog0JzQsNGA0YjRgNGD0YLQuNC30LDRhtC4 | base64 -d
>>
>> and it works fine:
>>
>> Re: [EXTERNAL] Re: Re: Re: Маршрутизаци
>
> Your decoding test was only applied to the =?UTF-8?...?= part but the
> rest of the header contains non-ASCII characters which are not even
> valid UTF8. It could be that exims match function never matches on invalid
> strings.
I'm paranoid enough to want to start checking exactly what was received
on the wire for that header, in case there's a buffer malfunction in exim's
code...
--
Cheers,
Jeremy