Re: [Exim] Simple syntax error?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tor Slettnes
Fecha:  
A: 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