[Exim] Missing lookup type?

Top Page
Delete this message
Reply to this message
Author: j2
Date:  
To: exim-users
Subject: [Exim] Missing lookup type?
What am i missing here?

My rule is

if
${lookup${h_X-sender:trash}lsearch{/home/gefu/filter.settings}{$value}} is
"yes"

then
        logwrite "!!!$tod_log LOOKUP Message from $h_X-sender trashed"
        unseen finish
endif


It gives

2002-05-25 18:52:29 17BemL-0001CD-00 == gefu@??? D=userforward
defer (-11): error in filter file: failed to expand
"${lookup${h_X-sender:trash}lsearch{/home/gefu/filter.settings}{$value}}" in
filter file: missing lookup type

And the filter.settings looks like this

[root@waldorf gefu]# cat filter.settings
an@???:               trash=yes