On Wed, 17 Apr 2002, David Moon wrote:
> Something to the effect of:
>
> dnslookup:
> driver = dnslookup
> domains = ! +local_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> headers_remove = Received:*
> no_more
>
> Obviously the "Received:*" isn't the proper syntax!
>
> Any pointers are greatly appreciated.
From the chapter on generic options for transports in the Exim 4 manual:
headers_remove Type: string* Default: unset
This option is expanded; the result must consist of a colon-separated list
of header names, not including the terminating colon, for example:
headers_remove = return-receipt-to:acknowledge-to
Any existing headers matching those names are not included in any message
^^^
^^^
that is transmitted by the transport. However, added headers may have
these names. Thus it is possible to replace a header by specifying it in
"headers_remove" and supplying the replacement in "headers_add". Headers
to be removed can also be specified by routers. See chapter 14 and section
43.13.
OK, it's not entirely clear, but what it means is that if you specify
a name and there is more than one such header line, they all get
removed.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.