Re: [exim] Remove header lines matching a specific pattern?

Top Pagina
Delete this message
Reply to this message
Auteur: Mike Cardwell
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Remove header lines matching a specific pattern?
Heiko Schlittermann wrote:

> I'd like to use something like:
>
>     transport:
>         driver = ....
>         headers_remove = NX-Spam.*

>
>
> Is it too simple, so I can't see it. Or is it not possible
> at all? I was thinking about some expansion, giving me a list of all
> message headers, but I'm too stupid to find it ...
>
>     Best regards from Dresden/Germany
>     Viele Grüße aus Dresden
>     Heiko Schlittermann


See $message_headers on
http://www.exim.org/exim-html-current/doc/html/spec_html/ch11.html

You could probably use ${filter} and ${map} to obtain the list of
headers from $message_headers. ${map} and ${filter} are described on the
same page.

--
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/