Re: [exim] headers_add produces duplicate header

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Yves Goergen
Data:  
Para: Jeremy Harris, exim-users
Asunto: Re: [exim] headers_add produces duplicate header
I'm adding one, with a condition.

How would the statement look if I wanted to remove it with the same
condition? So it won't just disappear when I'm not actually adding it again.

Something like this? (Before the headers_add)

> headers_remove = ${if !eq {$acl_VAR_SUBJECT}{} {Subject}{}}


Those braces always confuse me.

Yves

________________________________________
Von: Jeremy Harris
Gesendet: Sa, 2017-05-27 12:49 +0200
On 27/05/17 09:31, Yves Goergen wrote:
> Why is the Subject header duplicated in incoming messages?


You're adding one. Probably you also want to remove the
original one.