DMARC: expand main-config options. Bug 3102
[exim.git] / test / confs / 0321
index 624202e6526aac2626c09c25302e9c794f5a4f19..658ad15ce898f1514d45f3fa4453c780b4b09ba1 100644 (file)
@@ -29,7 +29,9 @@ begin transports
 
 pipe:
   driver = pipe
-  command = /non/exist/command -f <$sender_address> -d $pipe_addresses
+  command = /non/exist/command -f \
+       "<${if match_local_part {$sender_address}{CALLER@test.ex}{$value}}>" \
+       -d $pipe_addresses
   message_prefix =
   message_suffix =
   check_string =
@@ -43,6 +45,7 @@ pipe:
 local_delivery:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER