Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / aux-var-src / 0173.filter
1 # Demo Exim filter for virus check
2
3 if error_message then finish endif
4
5 if $received_protocol is not scanned-ok then
6   pipe "DIR/aux-fixed/resubmit \
7         \"${if match_address {$sender_address}{CALLER@test.ex} {$value}}\" \
8         \"${map {<, $recipients} \
9                 {${if match_address {$item} {userx@test.ex : usery@test.ex : userz@test.ex} { $value}}}}\" \
10         DIR/ CALLER"
11 endif