Re: [exim] headers_add headers_remove

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Michael Johnson
CC: exim-users
Betreff: Re: [exim] headers_add headers_remove
On Tue, 24 May 2005, Michael Johnson wrote:

> I recently updated to 4.51 and think something may have happened to the
> headers_add and headers_remove features I was relying on. Currently, I have:


There's nothing in the ChangeLog that I can see.

> headers_add        = ${if mathch{$header_list-post:} {\<mailto:(.*)\>} \
>                     {${if def:header_reply-to: \
>                     {X-Orig-reply-to: $header_reply-to:\nReply-To: <$1>} \
>                     {Reply-to: <$1>} }} \
>                     {} }

>
> headers_remove      = ${if and { \
>                     {def:header_reply-to:} {def:header_list-post:}\
>                     } {reply-to} fail }

>
> Failing some possible mistakes in my transcription, is there any reason this
> wouldn't work in 4.51? It appears it isn't currently working and it did in
> 4.43 (or whatever the previous release to 4.50 was).


Have you got those statements on routers, or on transports? What exactly
happens? Have you tried running a delivery with debugging turned on to
see what is happening?


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book