Re: [Exim] Header rewriting - From: fields comment and phras…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: Ray Gardener
CC: exim-users
Tárgy: Re: [Exim] Header rewriting - From: fields comment and phrase elements
R.A.Gardener@??? said:
> Is it possible to rewrite the comment and phrase elements of headers
> fields using Exim?


No.

> An example of a current header is
> from: r.a.gardener@??? (Ray Gardener)


Thats correct....

> which we want rewriting to either
> From: <r.a.gardener@???> "Ray Gardener"


I *think* thats technically correct, although normally the format would
be
From: "Ray Gardener" <r.a.gardener@???>

> or
> From: <Ray Gardener> r.a.gardener@???


Thats not RFC compliant - the address would there be taken to be within
the <>

You don't want to get involved in this - there are too many ways to
louse up - sendmail is the prime example of what happens when you
routinely rewrite since it will canonocalise anything it sees... with
interesting results.

You *could* do this sort of thing in a transport filter, but not in the
rewrite rules.

    Nigel.
-- 
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]