Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / confs / 0533
index 7c2ca9dc2890b2fa40498e577258635734678549..36e547ad6650215a978a8c9e98e6ea68f6636ce9 100644 (file)
@@ -16,7 +16,7 @@ r1:
   driver = redirect
   local_part_prefix = file-
   local_part_suffix = =*
-  data = DIR/test-mail/${bless:${substr_1:$local_part_suffix}}
+  data = DIR/test-mail/${extract {${substr_1:$local_part_suffix}} {mbox=mbox mbox2=mbox2}}
   file_transport = t1
 
 r2:
@@ -24,7 +24,7 @@ r2:
   local_part_prefix = pipe-
   local_part_suffix = =*
   caseful_local_part = true
-  data = |${substr_1:$local_part_suffix}
+  data = |DIR/bin/${extract {$local_part} {userx=iefbr14 usery=iefbr14 userz=../bin/iefbr14}}
   pipe_transport = t2
 
 
@@ -34,6 +34,7 @@ begin transports
 
 t1:
   driver = appendfile
+  create_file = DIR/test-mail
   envelope_to_add
   user = CALLER
   batch_max = 10