taint: allow appendfile create_file option to specify a de-tainting safe path
[exim.git] / test / confs / 0094
index 07698b5c0a0291ccac507ef9b51d217de35400c8..0ff7d5f4c840d2e5c25762564a32bcd297d0c49c 100644 (file)
@@ -42,7 +42,8 @@ begin transports
 
 appendfile:
   driver = appendfile
 
 appendfile:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   headers_add = host_lookup_failed: $host_lookup_failed\n\
                 host_lookup_deferred: $host_lookup_deferred
   user = CALLER
   headers_add = host_lookup_failed: $host_lookup_failed\n\
                 host_lookup_deferred: $host_lookup_deferred
   user = CALLER