Delivery: quieten smtp transport conn reuse vs. delivery race. Bug 1810
[users/heiko/exim.git] / test / confs / 0603
index 76bd41c55486016a04f2cf72d6672c6696e63c0b..44dc866064fcdfe3fccf5f606035b7041cb911e0 100644 (file)
@@ -8,6 +8,7 @@ untrusted_set_sender = *
 SERVER =
 
 exim_path = EXIM_PATH
+keep_environment =
 host_lookup_order = bydns
 #primary_hostname = myhost.test.ex
 rfc1413_query_timeout = 0s
@@ -49,7 +50,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 send to 127.0.0.1
+  interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
 
 # ----- Retry -----