be69ca2c29f076d2eaaaa76ad19f72f901679752
[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}}\" $1"
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 $1"
17 endif   
18