Re: [exim] headers_remove

Top Page
Delete this message
Reply to this message
Author: Edgar Lovecraft
Date:  
To: exim-users
Subject: Re: [exim] headers_remove
Marc Perkel wrote:
>
> ok - it can't be this hard but I'm missing something somewhere.
> I want to create a router that if the message matches some test will
> remove a few headers and pass on to the next router. But I can't figure
> out what driver to use and how to set this up.


Just use the 'headers_remove' in a redirect router that has an empty
'data' line. Along these lines:

example_router:
driver    = redirect
verify    = no
condition    = ${if eq{yes}{yes}{0}{1}}
headers_remove =    X-Header_One : X-Header_Two : \
            X-Header_Three : X-Header_Four
data        =


--

--EAL--

--