Testsuite: Use explicit interface for send to localhost
[users/heiko/exim.git] / test / confs / 0478
index bcdd98069ab7e6b973f7e7b15ee88397fce7cc82..70314f0f17eb2488db67d0165ff96ef1e474e8ae 100644 (file)
@@ -31,8 +31,9 @@ begin transports
 
 t1:
   driver = smtp
-  port = PORT_D
   hosts = ${if eq {$sender_host_address}{}{$local_part}{V4NET.0.0.2}}
+  port = PORT_D
+  interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
   allow_localhost
   connect_timeout = 1s