Re: [Exim] Simple syntax error?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tor Slettnes
Data:  
Para: Fred Viles
CC: exim-users
Assunto: 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