Testsuite: avoid assuming 127.0.0.2 is a viable sending address
[exim.git] / test / confs / 0604
index 6dcfba3583282eb87a301293aa3fa68595f0f68a..3766c330004e174d30dd702e20271f5daa36e14b 100644 (file)
@@ -48,7 +48,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 -----