Check for missing commandline arg after options taking one. Bug 3049
[exim.git] / test / aux-var-src / 0173.filter
index e58120d8a9c80e550cfb8d4424e91cbc8521184e..833d3e75a5da939525d62113776b92447a75bb86 100644 (file)
@@ -3,5 +3,9 @@
 if error_message then finish endif
 
 if $received_protocol is not scanned-ok then
-  pipe "DIR/aux-fixed/resubmit $sender_address $recipients DIR/ CALLER"
+  pipe "DIR/aux-fixed/resubmit \
+       \"${if match_address {$sender_address}{CALLER@test.ex} {$value}}\" \
+       \"${map {<, $recipients} \
+               {${if match_address {$item} {userx@test.ex : usery@test.ex : userz@test.ex} { $value}}}}\" \
+       DIR/ CALLER"
 endif