Re: [Exim] Checking for a header in a system filter.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Mark Hynes
Datum:  
To: J-P Human
CC: exim-users
Betreff: Re: [Exim] Checking for a header in a system filter.
On Sep 05, J-P Human wrote:
> Hi
>
> Using Exim3,
> In a sytem filter I use "headers add X-whatever" to add a header.
> How do I then check for the existence of that specific header the next
> time that email is processed?
> Is their a variable or something it will be in?


Their content will be in $header_X-whatever: (check the String expansion
section of the docs). There's a condition 'def' you can use to check
for its existence (as well as other operators on its content)

--
| Mark Hynes           mark.hynes@??? |
| Service Developer   http://www.uk.easynet.net/ |
| Easynet Ltd   --   a part of Easynet Group plc |