Re: [exim] More integer annoyances in 4.65

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: jh, exim-users
Sujet: 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 .....