On 19-Feb-99 Peter Radcliffe wrote:
> Pollywog <pollywog@???> probably said:
>> elif "$lookup {$sender_host_address} lsearch
>> {/local/mail/block/sender-host-reject}\
>> {found}{notfound}}" is "found" then fail text "Mail undeliverable"
>
>> 1999-02-19 22:23:00 10Deb6-0008CH-00 Error in message_filter file: failed
>> to
>> expand "$lookup {$sender_host_address} lsearch
>> {/local/mail/block/sender-host-reject}{found}{notfound}}" in filter file:
>> unknown variable: lookup
>
>>From the spec:
>
> ] ${lookup{<key>} <search type> {<file>} {<string1>} {<string2>}}
> ] ${lookup <search type> {<query>} {<string1>} {<string2>}}
>
> $lookup isn't valid, so you get an error about unknown variable.
> ${lookup ....} is valid.
Thanks, I happen to be looking at the spec right now and fixing my goof.
I should have looked there first.
--
Andrew
--
*** Exim information can be found at
http://www.exim.org/ ***