Re: [exim] Two headers_add in configure

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Frank Simon
Date:  
À: exim-users
Sujet: Re: [exim] Two headers_add in configure

Am 13.09.2004 um 10:26 schrieb Philip Hazel:

> On Mon, 13 Sep 2004, Frank Simon wrote:
>
>> Is there no way to define two header_adds in a router ?    Or as 
>> alternative:
>> Is there i way to add header_lines in system_filter ?

>
> You can specify headers_add only once. However, you can use it to add
> as
> many headers as you like:
>
>   headers_add = "first-header: some text ...\n\
>                  secnd-header: more text ...\n\
>                  third-header: yet more...."


Yes, but you see, that i have conditions. Works it with

headers_add = "condition{...}\
               condition{...}\"


?

I try

  headers_add = "${if or 
{{def:header_list-unsubscribe:}{match{$header_precedenc
e:}{(?i)list}}}{X-etfilter: bulk}}\
                 ${if 
match{$message_body}{{?i}application/x-zip-compressed}{X-et
filter: suspect}}"


and it dont to be work.

Frank
--
Frank Simon                          ECCE TERRAM Internet Services GmbH
Tel. 0441 / 500 120                  Edewechter Landstr. 42
Fax. 0441 / 500 1229                 D-26131 Oldenburg
Ex Astris Scientia