On Mon, 25 Dec 2006, Odhiambo G. Washington wrote:
> With 4.64:
>
> 7$ ./Administration/Exim/4.64/exim-4.64/build-FreeBSD-i386/exim -be '${if >{$acl_c0}{4}{1}{0}}'
> Failed: integer expected but "" found
>
> With 4.63:
>
> 8$ exim -be '${if >{$acl_c0}{4}{1}{0}}'
> 0
>
> I am not sure why exim-4.64 is complaining on the above ......
... because $acl_c0 is unset and will therefore expand to "".
> 2006-12-25 12:13:53 1Gylu5-000Pba-CH failed to expand condition "${if and { {!def:h_X-Spam-Flag:} {!def:h_X-FILTER-DSPAM:} {!eq {$received_protoc
> ol}{dspam-scanned}} {!eq {$received_protocol}{local}} {!eq {$sender_address_domain}{$domain}} { <= {$message_size}{512k}} }{1}{0}}" for dspam_rou
> ter router: integer expected but "" found inside "and{...}" condition
This is a bug that Magnus posted a patch for.
--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book