Fix CVE-2016-1531
[exim.git] / test / confs / 0026
index db267d50264b20d0b17c564b7a30cb36141d2a24..af26616710aa7260ffed70f89ed7894f8ac84848 100644 (file)
@@ -1,6 +1,7 @@
 # Exim test configuration 0026
 
 exim_path = EXIM_PATH
+keep_environment =
 host_lookup_order = bydns
 primary_hostname = myhost.test.ex
 spool_directory = DIR/spool
@@ -24,6 +25,7 @@ begin acl
 acl_data:
   deny     log_message = body contains trigger
            condition = ${if match{$message_body}{trigger}{yes}{no}}
+  warn    logwrite = \$h_from: '$h_from:'
   require  verify = header_syntax
   warn     message = X-warning: this is a test warning
   accept   senders = ! :