CVE-2020-28026: Line truncation and injection in spool_read_header()
[exim.git] / test / confs / 0016
index 5d9d99fdb3d0f81c8ceb93e5002a8e8c33d54ae8..f8cbb7cbb74f4e64108d0b6b85d5a81c0c04f208 100644 (file)
@@ -1,11 +1,7 @@
 # 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 -----
 
@@ -21,7 +17,7 @@ userforward:
   allow_filter
   user = CALLER
   local_parts = userx : CALLER
-  file = DIR/aux-fixed/0016.filter.$local_part
+  file = DIR/aux-fixed/0016.filter.$local_part_data
   local_part_suffix = +*
   local_part_suffix_optional
   reply_transport = address_reply
@@ -43,8 +39,12 @@ local_delivery:
   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
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
 
 address_reply:
   driver = autoreply