Re: [exim] Try to write an acl /acl_smtp_data to read header…

Top Page
Delete this message
Reply to this message
Author: Graeme Fowler
Date:  
To: exim-users
Subject: Re: [exim] Try to write an acl /acl_smtp_data to read header content spam
On 23 Mar 2018, at 07:15, Mueller via Exim-users <exim-users@???> wrote:
>
> warn condition = ${if match{h_x-spam-status:}{"UNPARSEABLE_RELAY"}}


That should be (untested):

warn condition = ${if match{$h_x-spam-status:}{\NUNPARSEABLE_RELAY\N}}

You need a leading $ on the header name, and the \N...\N markers to delimit the expression and prevent exim trying to expand anything in there.

Graeme