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

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] Remove header lines matching a specific pattern?
Heiko Schlittermann <hs@???> (Mo 13 Jul 2009 14:00:26 CEST):
> Hello,
>
> I'd like to use something like:
>
>     transport:
>         driver = ....
>         headers_remove = NX-Spam.*

>


Hm. Something like

    transport:
        ...
        headers_remove = <\n ${filter \
                {<\n ${map{<\n$message_headers_raw} {${extract{1}{:}{$item}}}}} \
                {match{$item}{(?i:^X-)}}}


should do the trick. But for now it doesn't. Will continue testing.
Thanks for reading :-)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -