Re: [Exim] Multi-condition ACL statement in a macro possible…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Pat Lashley
CC: exim-users, info-cyrus
Tárgy: Re: [Exim] Multi-condition ACL statement in a macro possible?
On Fri, 12 Sep 2003, Pat Lashley wrote:

>    warn    message = X-Test: YES
>        condition = ${if {$h_subject}{macro test}{yes}{no}}


That's not a valid condition. After "${if" you must have the name of a
condition or "and" or "or". For example

${if eq {string1}{string1}...
${if match {string1}{regex}...
${if > {something numerical}{a numerical limit}...
${if and {{first cond}{second cond}}...




--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book