OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: header_checks question

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Mon Feb 22 2010 - 13:59:20 CST


* Victor Duchovni <Victor.Duchovnimorganstanley.com>:
> On Mon, Feb 22, 2010 at 02:57:54PM +0100, Ralf Hildebrandt wrote:
>
> > Can anybody comment on this ugly "fix" for Umlauts in realnames?
> >
> > # Already with Quotes ("=22") thus do nothing
> > /^From: =\?iso-8859-1\?Q\?=22(.*)=22\?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1=22?= <$2>
> > # No quotes
> > /^From: =\?iso-8859-1\?Q\?(.*)\?= <(.*)>$/ REPLACE From: =?iso-8859-1?Q?=22$1=22?= <$2>
> >
> > #becaus:
> > #wrong =?iso-8859-1?Q?Kr=FCger=2C_Stephanie?=
> > #correct =?iso-8859-1?Q?=22Dr._med._Stefan_R=F6pke=22?=
>
> The "wrong" form is RFC compliant. No quotes are required, because
> they are not part of the value, they are part of the syntax for a
> quoted-string encapsulation of the value inside the quotes. When using
> RFC 2047 encoding, the encoded string is an RFC822 atom and does not
> require any quotes.

But Exchange forgets the "" and just encodes
Lästnäme, Firstnäme
instead of
"Lästnäme, Firstnäme"

thus the quoted-string encapsulation is wrong?!
--
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandtcharite.de | http://www.charite.de