Testsuite: avoid assuming 127.0.0.2 is a viable sending address
[exim.git] / test / confs / 0603
index 76bd41c55486016a04f2cf72d6672c6696e63c0b..7709de246621d86d62c35d2c6d558f0b9511d336 100644 (file)
@@ -49,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 send to 127.0.0.1
+  interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
 
 # ----- Retry -----