Re: [Exim] Simple syntax error?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tor Slettnes
Data:  
Para: Fred Viles
CC: exim-users
Asunto: Re: [Exim] Simple syntax error?
On Mar 24, 2004, at 14:01, Fred Viles wrote:
> |           condition = ${if > {$spam_score_int}{60}{true}{false}}
> |           condition = ${if < {$spam_score_int}{80}{true}{false}}
> |
> | Conditions are "and"ed.

>
> This only works in an ACL statement (where "condition" is a
> "condition"), not in a router (where "condition" is an "option"),
> right? And this hasn't changed since 4.2x?


@$&!#*$&*! Some people are _never_ satisfied.

How then about this:
           condition = ${if and {{> ${spam_score_int}{60}} \
                                 {< ${spam_score_int}{80}}} \
                            {true}{false}}


-tor