Two-phase queue run perf: parallel processes for phase one
[users/jgh/exim.git] / test / aux-var-src / 0184.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/0184.lsearch}{$value}}" is y or
12   "${lookup{${local_part:$h_to:}}lsearch{DIR/aux-fixed/0184.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