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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim-users
Sujet: 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/