Re: [exim] version 4.65 and integer handling (fwd)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ray Gardener
Date:  
À: exim-users
Sujet: Re: [exim] version 4.65 and integer handling (fwd)

For info the original snippet I borrowed was from the archives for
this
list and written by Philip (Hazel).

http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20020722/msg00033.html

Regards,

Ray Gardener
---------- Earlier message ----------
Hi,


I upgraded from Exim 4.62 to 4.65 yesterday. At 08:00 today I started seeing an
issue.

from the mainlog
______________________________________________________________________
2007-01-03 08:00:02 H=xxxx.xxx.xx [62.XXX.213.17] F=<xxxx@???> temporarily 
rejected RCPT <xxx@???>: failed to expand ACL string "${if and { 
{ >     {${if match{$tod_log}{\N^.{11}(\d\d)\N}{$1}}}    {8} 
} { <                                             {${if 
match{$tod_log}{\N^.{11}(\d\d)\N}{$1}}}    {20} } 
}        {yes}{no}}": invalid integer "08" inside "and{...}" condition
_______________________________________________________________________



it seems as if "08" is how being interpreted (technically correctly) as a
invalid octal integer rather than a decimal integer. However the snippet in the
configure file causing this was borrowed from the web (I haven't got the
original URL to hand). I am concerned that other users who borrowed in a
similar way may see similar problems. For speed I have just downgraded back to
4.62. I suspect it is easy enough to change the configuration file fragment and
will look at it later today.

Cheers,
____________________________________________________________________________
Ray Gardener,
IT Services, LITS,
Sheffield Hallam University,
Howard Street,
Sheffield,
UK
S1 1WB
Telephone: +44 114 225 4926
Fax: +44 114 225 3840
Mobile: +44 07788190005
Email: R.A.Gardener@???