RE: [Exim] 8-bit in From: and Subject:

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Arnulv Rudland
Data:  
Para: exim-users
Assunto: RE: [Exim] 8-bit in From: and Subject:
On Thursday, November 21, 2002 9:40 PM, Steven A. Reisman said:
>
>
> On Thu, Nov 21, 2002 at 05:27:23PM +0000, tsh@??? wrote:
> > Is there any way of detecting/rejecting msgs with 8-bit chars
> > (topbit) in their headers (in particular From: and Subject:) ?
> > Anything I can put in an ACL or preferably a filter?
>
> >From my #Exim filter:
>
>    if $h_subject matches [\\x80-\\xff]{5}  ...

>


just a curious (and possibly very ignorant question - please ignore this if
it's annoying - don't throw hard things at me :-)

why do you need to get rid of them? I receive a lot of mails with encoded
subjects:

here an example:

"Subject: =?iso-8859-1?Q?Olympia_2012_/_MV_M=E4rz_der_WJ_L=FCbeck?="

which in the receiving MUA translates to:

"Subject: Olympia 2012 / MV März der WJ Lübeck"

(%auml; and ü of course displayed as the correct umlaut)

wouldn't it be better to have a filter doing the straight-foward encoding?
in worst case a perl one-liner.

As I said, i'm just curious...

Arnulv