Lookups: sub-path for dsearch
[exim.git] / test / confs / 0131
index 4ca5af5f4cfc0037daf6b20f7c01566a4bdcacfe..552060cde8cd7de7fe2a4e5e4976f1ae5f5cc194 100644 (file)
@@ -1,13 +1,7 @@
 # Exim test configuration 0131
 
-exim_path = EXIM_PATH
-keep_environment =
-host_lookup_order = bydns
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+.include DIR/aux-var/std_conf_prefix
+
 
 # ----- Main settings -----
 
@@ -31,7 +25,7 @@ forward:
   driver = redirect
   allow_filter
   no_check_local_user
-  file = DIR/aux-fixed/TESTNUM.$local_part
+  file = ${lookup {TESTNUM.$local_part} dsearch,ret=full {DIR/aux-fixed} {$value}fail}
   retry_use_local_part
   user = CALLER
   address_data = $address_data-forward
@@ -50,6 +44,7 @@ begin transports
 appendfile:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
   headers_add = Address-Data: >$address_data<