Re: [EXIM] Headers add/remove

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: John Horne
CC: exim-users
Betreff: Re: [EXIM] Headers add/remove
On Mon, 3 Aug 1998, John Horne wrote:

> As a special one-off case I was trying to get our system filter (a perl

                                                                   ^^^^^^

> script)

^^^^^^

Eh?

> I had something similar in the system filter to:
>
>    headers remove Reply-to
>    headers remove From

>
>    headers add "From: ${lookup {${substr_4:${local_part:$h_To:}}} lsearch
>                          {replies} {$value} {postmaster@???}}\\n"

>
>    headers remove To
>    freeze

>
> However, the file lookup fails. If I remove the 'headers remove To' line then
> it works. Am I missing something here or isn't the script being executed
> sequentially?


It should execute sequentially. I'll set up something similar and see if
I can reproduce any problems.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***