Remove confusing #ifndef environ
[users/heiko/exim.git] / test / confs / 0603
index bc84cc0d18fe02dd68f882e988665ba553f76477..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
@@ -16,6 +17,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 -----
 
@@ -48,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 -----