Fix CVE-2016-1531
[exim.git] / test / confs / 5400
index 8f2e8b585f1c0d5ae341c7e68e97cf4d7fc8c623..37c2d31648d1af3b8dbf1b33fbaed7af4cc86489 100644 (file)
@@ -1,6 +1,7 @@
 # Exim test configuration 5400
 
 exim_path = EXIM_PATH
 # Exim test configuration 5400
 
 exim_path = EXIM_PATH
+keep_environment =
 host_lookup_order = bydns
 primary_hostname = myhost.test.ex
 rfc1413_query_timeout = 0s
 host_lookup_order = bydns
 primary_hostname = myhost.test.ex
 rfc1413_query_timeout = 0s
@@ -34,6 +35,8 @@ all:
   route_list = * 127.0.0.1
   self = send
   transport = smtp
   route_list = * 127.0.0.1
   self = send
   transport = smtp
+  headers_remove = X-hdr-rtr
+  headers_add =    X-hdr-rtr-new: $h_X-hdr-rtr:+++
   no_more
 
 
   no_more
 
 
@@ -45,6 +48,7 @@ smtp:
   driver = smtp
   interface = HOSTIPV4
   port = PORT_S
   driver = smtp
   interface = HOSTIPV4
   port = PORT_S
+  headers_add =  ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
 
 
 # End
 
 
 # End