Re: [exim] Horribly broken subject line, and deliverability.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ernie Dunbar
Datum:  
To: exim-users
Betreff: Re: [exim] Horribly broken subject line, and deliverability.
I'll test this in the morning, but it's worth noting that I'm just using
the Debian Exim package, so re-compiling Exim may be possible, but
probably not recommended.

> On 2010-06-14 at 16:24 -0700, Ernie Dunbar wrote:
>> Occasionally, some of our customers have a need to send messages with
>> subject lines like this:
>>
>> Subject:
>> =?iso-8859-1?Q?FW:_Notice/Avis_Canada's_Energy_Efficiency_Regulations_-_P?=
>>
>> =?iso-8859-1?Q?re-publication_Amendment_11_---_R=E8glement_sur_l'effica?=
>>
>> =?iso-8859-1?Q?cit=E9_=E9nerg=E9tique_du_Canada_-_Publication_pr=E9alable?=
>>         =?iso-8859-1?Q?_Modification_no_11?=

>>
>> As you can imagine, this is not totally uncommon in Canada.
>>
>> However, our Exim configuration will not deliver this message, and it
>> doesn't even give a reasonable error message except that the message
>> failed.
>>
>> I either need to fix this, or make Exim give the user a good excuse for
>> not working.
>
> You're not building with HAVE_ICONV=yes perhaps? And then are doing
> some system filter check which fails? Or you built Exim with HAVE_ICONV
> but HEADERS_CHARSET which doesn't include support for the iso-8859-1
> characters you're seeing (eg, US-SASCII)?
>
> Perhaps logs would help, or an entry from paniclog, or the result of
> looking at { exim -d -oX 26 -bd } output when you telnet to port 26 and
> use SMTP to send a copy of such a mail, pasting in the bad subject?
>
> If I create a file "foo.eml" containing:
> ----------------------------8< cut here >8------------------------------
> From: Phil Pennock <exim-users@???>
> To: Phil Pennock <exim-users@???>
> Subject:
>         =?iso-8859-1?Q?FW:_Notice/Avis_Canada's_Energy_Efficiency_Regulations_-_P?=
>         =?iso-8859-1?Q?re-publication_Amendment_11_---_R=E8glement_sur_l'effica?=
>         =?iso-8859-1?Q?cit=E9_=E9nerg=E9tique_du_Canada_-_Publication_pr=E9alable?=
>         =?iso-8859-1?Q?_Modification_no_11?=
> Date: nowish

>
> foo
> ----------------------------8< cut here >8------------------------------
>
> and then invoke { exim -bem foo.eml } then:
>> $h_subject:
> FW: Notice/Avis Canada's Energy Efficiency Regulations - Pre-publication
> Amendment 11 --- Règlement sur l'efficacité énergétique du Canada -
> Publication préalable Modification no 11
>>
>
> Decodes just fine here.
>
> -Phil
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/