Re: [exim] More integer annoyances in 4.65

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Magnus Holmgren
Date:  
À: jh, exim-users
Sujet: Re: [exim] More integer annoyances in 4.65
On Wednesday 03 January 2007 00:22, 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}}


It would, if it weren't that $spam_score_int can be negative (and eval doesn't
like things like "0-" either).
For $acl_m*, whether they can contain negative numbers obviously depends on
the administrator.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans