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.