Re: [exim] Router Conditional Lookup Fails

Top Pagina
Delete this message
Reply to this message
Auteur: Graeme Fowler
Datum:  
Aan: exim users
Onderwerp: Re: [exim] Router Conditional Lookup Fails
On 14 Jun 2017, at 22:01, Patrick Porteous <patrick.porteous@???> wrote:
> condition = ${lookup {$h_Subject} wildlsearch{/etc/exim/banned_subjects}{yes}{no}}


{$h_Subject:} rather than {$h_Subject}

From the docs:

> Header names follow the syntax of RFC 2822, which states that they may contain any printing characters except space and colon. Consequently, curly brackets do not terminate header names, and should not be used to enclose them as if they were variables. Attempting to do so causes a syntax error.


Graeme