Use random_number rather than random, for external server distribution. Bug 2694
[users/heiko/exim.git] / test / confs / 0016
index 5d9d99fdb3d0f81c8ceb93e5002a8e8c33d54ae8..9e190d8ebd0b74388f65535d0e4bf64e1c8990e1 100644 (file)
@@ -1,11 +1,7 @@
 # Exim test configuration 0016
 
 # Exim test configuration 0016
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
+.include DIR/aux-var/std_conf_prefix
+
 
 # ----- Main settings -----
 
 
 # ----- Main settings -----
 
@@ -21,7 +17,7 @@ userforward:
   allow_filter
   user = CALLER
   local_parts = userx : CALLER
   allow_filter
   user = CALLER
   local_parts = userx : CALLER
-  file = DIR/aux-fixed/0016.filter.$local_part
+  file = DIR/aux-fixed/0016.filter.${bless:$local_part}
   local_part_suffix = +*
   local_part_suffix_optional
   reply_transport = address_reply
   local_part_suffix = +*
   local_part_suffix_optional
   reply_transport = address_reply
@@ -43,8 +39,11 @@ local_delivery:
   user = CALLER
   delivery_date_add
   envelope_to_add
   user = CALLER
   delivery_date_add
   envelope_to_add
-  file = DIR/test-mail/$local_part
+  headers_add = X-local_part: $local_part\n\
+               X-local_part_suffix: $local_part_suffix\n\
+               X-local_part_suffix_v: $local_part_suffix_v
   return_path_add
   return_path_add
+  file = DIR/test-mail/${bless:$local_part}
 
 address_reply:
   driver = autoreply
 
 address_reply:
   driver = autoreply