On 22/12/16 13:06, Forum wrote:
>>> condition = ${if >{$spam_score_int}{${eval:200}}{true}{false}}
>> Possibly you don't have a $spam_score_int by this point...
>
> But it is working - so the variable exists with a value.
Not necessarily; it can exist but have no value.
If so it will expand to an empty string.
In an expansion numeric-comparator condition and
empty string is taken as zero, and your
condition is false.
>>> warn spam = nobody:true
>> Nit: indentation.
>
> What is the meaning of this?
I mean: this is unimportant for operation,
but could confuse a human reading the text
since you have not vertically-aligned the
ACL verb "warn" with the preceding "deny".
--
Cheers,
Jeremy