Re: [exim] Rewriting duff 'From:' headers

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Jonathan Sambrook
Kopio: exim-users
Aihe: Re: [exim] Rewriting duff 'From:' headers
On Tue, 2 Aug 2005, Jonathan Sambrook wrote:

> I'm having difficulty getting Exim to rewrite headers containing address
> phrases in the incorrect (unquoted) form:


The reason this doesn't work is that Exim doesn't know how to parse the
header, so it can't extract the address to know if the rewrite rule
matches.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}