Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 3401
index d2cf9c97299b7a74e43689c5121183ce132a9e63..92c0afc32276fa68e0d56e1cb6b6bbbb2aeb9a14 100644 (file)
@@ -8,6 +8,7 @@ spool_directory = DIR/spool
 log_file_path = DIR/spool/log/%slog
 gecos_pattern = ""
 gecos_name = CALLER_NAME
+log_selector = +smtp_mailauth
 
 # ----- Main settings -----
 
@@ -22,12 +23,19 @@ login:
   driver = plaintext
   public_name = LOGIN
   client_send = : userx : secret
+  client_set_id = userx
 
 plain:
   driver = plaintext
   public_name = PLAIN
   client_send = ^userx^secret
 
+xlogin:
+  driver = plaintext
+  public_name = XLOGIN
+  client_send = : $auth1 : $auth1+$auth2
+  client_set_id = $auth1
+
 
 # ----- Routers -----
 
@@ -54,12 +62,14 @@ smtp_try:
   driver = smtp
   hosts_try_auth = *
   port = PORT_S
+  interface = 127.0.0.1
   authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail}
 
 smtp_force:
   driver = smtp
   hosts_require_auth = *
   port = PORT_S
+  interface = 127.0.0.1
 
 
 # ----- Retry -----