Lookups: sub-path for dsearch
[exim.git] / test / confs / 0237
index 0eb8f26039e176acb226bf4312d4030ecaac6a22..31d6c4bcda95b45ffa6ac34f4d2cb1980dcb5a90 100644 (file)
@@ -22,10 +22,14 @@ bounces:
 
 notallowed:
   driver = redirect
 
 notallowed:
   driver = redirect
+  domains = no.test.ex
   allow_defer
   caseful_local_part
   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
   hide_child_in_errmsg
   forbid_file
   forbid_pipe
   hide_child_in_errmsg
@@ -35,7 +39,11 @@ allowed:
   driver = redirect
   allow_defer
   caseful_local_part
   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
   hide_child_in_errmsg
   pipe_transport = address_pipe
   file_transport = address_file
   hide_child_in_errmsg
   pipe_transport = address_pipe