Re: [exim] More integer annoyances in 4.65

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Perkel
Päiväys:  
Vastaanottaja: jh, exim-users
Aihe: Re: [exim] More integer annoyances in 4.65


Wakko Warner wrote:
> Jakob Hirsch wrote:
>
>> The fix for your config would be:
>> ${if >{${spam_score_int}0}{500}}
>> ${if >{${acl_m}0}{1000}}
>>
>
> Wouldn't it make more sense to:
> ${if >{0${spam_score_int}}{50}}
> ${if >{0${acl_m}}{100}}
>
> Atleast you don't have to remember to add another 0 on the end of the 2nd
> number.
>
>


What would really make more sense is:

if spam_score > 50 then .....