Re: [exim] headers_remove

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Edgar Lovecraft
Fecha:  
A: exim-users
Asunto: 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--

--