Re: [exim] condition help

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Alex
CC: exim users
Subject: Re: [exim] condition help
On Fri, 21 Jul 2006, Alex wrote:

> What's wrong?
>
> condition = ${if { {match {$h_X-ACL-Warn:}{.*malware.*} } {yes}{no} }


You have spurious braces. Exim is very specific about where they are
allowed.

condition = ${if match{$h_X-ACL-Warn:}{.*malware.*} }

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}