Re: [Exim] Simple syntax error?

Góra strony
Delete this message
Reply to this message
Autor: Tor Slettnes
Data:  
Dla: Fred Viles
CC: exim-users
Temat: 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