Fix build with DISABLE_EVENT (proper spelling)
[exim.git] / test / aux-var-src / 0383.F
1 # Exim filter (system filter for test 0383)
2
3 if error_message then finish endif
4
5 if foranyaddress $h_to: ($thisaddress matches "^(alice)") then
6   pipe "DIR/aux-fixed/showenv \"${if match_address {$thisaddress}{alice@test.ex}{$value}}\" \"${if inlist {$1}{alice} {$value}}\""
7   finish
8 endif   
9
10 if foranyaddress $h_to: ($thisaddress matches "^(marny)") then
11   pipe "DIR/aux-fixed/showenv $thisaddress $1"
12   finish
13 endif   
14
15 if $h_to: matches "^(j..)" then
16   pipe "DIR/aux-fixed/showenv \"${if inlist {$1}{jab} {$value}}\""
17 endif   
18