Re: [exim] condition help

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Alex
Υ/ο: exim users
Αντικείμενο: 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}}