Testsuite: Use explicit interface for send to localhost
[users/heiko/exim.git] / test / confs / 0227
index 17f49eb76fe85cd14e4f86d7a4f946b68dbcfbc9..063ced4819e41aa274752ad6e2a0644eb9d823e3 100644 (file)
@@ -28,10 +28,8 @@ check_recipient:
   deny    hosts    = V4NET.0.0.1
          !verify   = sender/callout=no_cache
   deny    hosts    = V4NET.0.0.3
-          log_message = ($recipient_verify_failure)
          !verify   = recipient/callout=no_cache
   deny    hosts    = V4NET.0.0.5
-          log_message = ($sender_verify_failure)
          !verify   = sender/callout=no_cache/check_postmaster
   require verify   = sender
   accept  domains  = +local_domains
@@ -84,6 +82,7 @@ begin transports
 smtp:
   driver = smtp
   port = PORT_S
+  interface = ${if eq {$host}{127.0.0.1} {127.0.0.1}}
 
 lmtp:
   driver = smtp