Hi.
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._?=
As you can see, it has "UTF-8" in each line.
And this is the subject of bounce message:
Subject: Re: [Заявка:2008061010026081] Проверка доставки
=?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._?=
Mail delivery failed : returning message to sender
So it missed "UTF-8" at first line and became unreadable.
Here is beginning of my bounce message file:
Subject: $header_subject Mail delivery failed ${if
eq{$sender_address}{$bounce_recipient}{: returning message to sender}}
****
--
Dmitry Pryadko
http://www.hc.ru