taint: allow appendfile create_file option to specify a de-tainting safe path
[exim.git] / test / confs / 0428
index b0bcb6548908fa7d753e326cbd3bf7dfef48bd47..bb2c414fe2212ab827ab41a337af5f7c8afc1881 100644 (file)
@@ -151,12 +151,13 @@ begin transports
 t1:
   driver = appendfile
   file = ${if eq{$address_file}{inbox} \
-              {DIR/test-mail/${bless:$local_part}} \
+              {DIR/test-mail/$local_part} \
               {${if eq{${substr_0_1:$address_file}}{/} \
                     {$address_file} \
                     {DIR/test-mail/$address_file} \
               }} \
          }
+  create_file = DIR/test-mail
   delivery_date_add
   envelope_to_add
   return_path_add
@@ -164,7 +165,8 @@ t1:
 
 t2:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   delivery_date_add
   envelope_to_add
   return_path_add