ibase lookup: further compile fixes
[exim.git] / test / aux-var-src / 4130.filter
1 # Exim filter
2
3 if error_message or not first_delivery then finish endif
4
5 logfile DIR/test-stdout
6
7 logwrite "To: contains\n$h_to:\n"
8
9 if 
10   $header_to is $header_from or
11   "${lookup{$h_to:}lsearch{DIR/aux-fixed/TESTNUM.lsearch}{$value}}" is y or
12   "${lookup{${local_part:$h_to:}}lsearch{DIR/aux-fixed/TESTNUM.lsearch}{$value}}" is y
13 then
14   logwrite "yyyyyy"
15 else
16   logwrite "nnnnnn"
17 endif   
18
19 mail to "$h_to:\nrhubarb"
20
21 seen finish