Fix CVE-2016-1531
[exim.git] / test / confs / 0604
index 77376cdcd0c0ef20f21f67881428f5d2b797257f..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
@@ -15,6 +16,7 @@ log_file_path = DIR/spool/log/SERVER%slog
 log_selector = +sender_on_delivery
 gecos_pattern = ""
 gecos_name = CALLER_NAME
+tls_advertise_hosts =
 
 # ----- Main settings -----
 
@@ -47,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 -----