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

Top Pagina
Delete this message
Reply to this message
Auteur: Tony Finch
Datum:  
Aan: Jonathan Sambrook
CC: exim-users
Onderwerp: 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}}