summaryrefslogtreecommitdiff
path: root/test/aux-var-src/0383.F
blob: 59dd0666a0f2889a0eee25bba488d2f7fe75ad8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Exim filter (system filter for test 0383)

if error_message then finish endif

if foranyaddress $h_to: ($thisaddress matches "^(alice)") then
  pipe "DIR/aux-fixed/showenv \"${if match_address {$thisaddress}{alice@test.ex}{$value}}\" \"${if inlist {$1}{alice} {$value}}\""
  finish
endif   

if foranyaddress $h_to: ($thisaddress matches "^(marny)") then
  pipe "DIR/aux-fixed/showenv $thisaddress $1"
  finish
endif   

if $h_to: matches "^(j..)" then
  pipe "DIR/aux-fixed/showenv \"${if inlist {$1}{jab} {$value}}\""
endif