Fix CVE-2016-1531
[exim.git] / test / confs / 0604
index 6dcfba3583282eb87a301293aa3fa68595f0f68a..80c130cbe08b2f7a330cd3e95b525f3fbfc261a1 100644 (file)
@@ -7,6 +7,7 @@ untrusted_set_sender = *
 SERVER =
 
 exim_path = EXIM_PATH
+keep_environment =
 host_lookup_order = bydns
 #primary_hostname = myhost.test.ex
 rfc1413_query_timeout = 0s
@@ -48,7 +49,8 @@ send_to_server:
   allow_localhost
   hosts = 127.0.0.1
   port = PORT_D
-  interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{127.0.0.2}}
+  # assumes that HOSTIPV4 can sent to 127.0.0.1
+  interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
 
 # ----- Retry -----