Taint: reject or log more tainted list metadata elements
[exim.git] / test / confs / 0226
index f5be03e9dab85883393460829c82582618bb1da5..e831208399a1906a900c15765470a48bcb06263e 100644 (file)
@@ -22,10 +22,14 @@ bounces:
 
 notallowed:
   driver = redirect
+  domains = no.test.ex
   allow_defer
   caseful_local_part
-  data = $local_part
-  domains = no.test.ex
+  data = ${extract {$local_part} \
+         { file1=/a/b/c \
+           pipe1=|/p/q/r \
+           file2=DIR/test-mail/file \
+           pipe2=|DIR/aux-fixed/showenv }}
   forbid_file
   forbid_pipe
   retry_use_local_part
@@ -34,7 +38,11 @@ allowed:
   driver = redirect
   allow_defer
   caseful_local_part
-  data = ${bless:$local_part}
+  data = ${extract {$local_part} \
+         { file1=/a/b/c \
+           pipe1=|/p/q/r \
+           file2=DIR/test-mail/file \
+           pipe2=|DIR/aux-fixed/showenv }}
   file_transport = address_file
   pipe_transport = address_pipe
   retry_use_local_part
@@ -47,7 +55,8 @@ begin transports
 
 local_delivery:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
 
 address_file: