Re: [Exim] Simple syntax error?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tor Slettnes
Date:  
À: Fred Viles
CC: exim-users
Sujet: 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