taint: allow appendfile create_file option to specify a de-tainting safe path
[exim.git] / test / confs / 3403
index 161cdeaeeeed1280c384ecef0d07ae8576ffeee2..327308591abb0dfa40f9e9ed1244c4a1f4fa2936 100644 (file)
@@ -40,6 +40,7 @@ begin routers
 d1:
   driver = accept
   headers_add = aid: $authenticated_id
+  headers_add = rtr_authres: ${authresults {$primary_hostname}}
   retry_use_local_part
   transport = t1
 
@@ -50,7 +51,8 @@ begin transports
 
 t1:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
 
 # End