Re: [exim] condition help

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Alex
Kopio: exim users
Aihe: 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}}