Re: [exim] headers_add produces duplicate header

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Yves Goergen
Date:  
À: Jeremy Harris, exim-users
Sujet: 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.