Author: Magnus Holmgren Date: To: exim-users CC: Jerry M. Howell II Subject: Re: [exim] exim as secondary, need it to re-write some headers
Magnus Holmgren wrote: > Jerry M. Howell II wrote:
>
> Or maybe I'm assuming too much and you really just want to be able to
> quickly tell if mail passed through the secondary. Exim, if i'm not
> entirely confused, itself only rewrites addresses, not arbitrary
> headers, so you would need to set up a router that pipes the mail to a
> tool like formail, then back to Exim.
I was confused. headers_remove and headers_add can be used and there is
even an example in section 43.16 of the specification.
headers_remove = subject
headers_add = Subject: new subject (was: $h_subject:)
(Though I think I would use the raw $rh_subject instead in this case.)