Re: [EXIM] filter problem

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Peter Radcliffe
Data:  
Para: exim-users
Assunto: Re: [EXIM] filter problem
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.

RTFS.

> Why was it not complaining before and only now causes problems?


It should never have worked unless Philip has changed the parser, and
it wasn't valid anyway.

P.

-- 
pir               pir@???      pir@???      pir@???



--
*** Exim information can be found at http://www.exim.org/ ***