Re: [exim] Problem with filter on Base64-encoded subject fie…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: 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