Re: [exim-dev] patch for named acl variables

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: exim-dev
Subject: Re: [exim-dev] patch for named acl variables
On Thu, 21 Sep 2006, Jakob Hirsch wrote:

> > accidentally fixed a bug. The manual says "the two strings must take the
> > form of optionally signed decimal integers..."
>
> In my case, it was in the data acl, where I have conditional spam
> scanning, but compare $spam_score_int later (which is not set without a
> spam scan). Now I have to put an additional condition (with ${if
> def:spam_score_int}) in every stanza or change the design.


<hack>
Try 0$spam_score_int instead. The spec does say "decimal integer" so a
leading 0 should be OK.
</hack>


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book