Re: [exim] need help with UTF-8 in Subject: header

Góra strony
Delete this message
Reply to this message
Autor: Dmitry Pryadko
Data:  
Dla: exim-users
Temat: Re: [exim] need help with UTF-8 in Subject: header
Phil Pennock пишет:
> On 2008-06-17 at 20:23 +0400, Dmitry Pryadko wrote:
>
>> I have a problem with bounces.
>>
>> Here's an example of 'bounced' message original Subject:
>>
>> Subject: Re: =?UTF-8?Q?[=D0=97=D0=B0=D1=8F=D0=B2=D0=BA=D0=B0:2008061010026081]_?=
>>     =?UTF-8?Q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0_?=
>>     =?UTF-8?Q?=D0=B4=D0=BE=D1=81=D1=82=D0=B0=D0=B2=D0=BA=D0=B8_?=
>>     =?UTF-8?Q?=D1=8D=D0=BB=D0=B5=D0=BA=D1=82=D1=80=D0=BE=D0=BD=D0=BD=D0=BE=D0=B9_?=
>>     =?UTF-8?Q?=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D1=81=D0=BF=D0=BE=D0=BD=D0=B4=D0=B5=D0=BD=D1=86=D0=B8=D0=B8._?=

>
> If you set "check_rfc2047_length" false in Exim's main configuration,
> the header will be decoded correctly; I would assume (but haven't
> checked) that Exim would then re-encode things correctly as needed.
>
> check_rfc2047_length = false
>
>
>

thanks ! setting that single option didn't help, but it worked when
corrected bounce message template in the following way:

Subject: ${rfc2047:$header_subject Mail delivery failed ${if
eq{$sender_address}{$bounce_recipient}{: returning message to sender}}}

--
Dmitry Pryadko
http://www.hc.ru