Testsuite: use actual hostname in SRS testcase
[exim.git] / test / confs / 0610
index f805c086cf363763e65fd8e15d85b5e7a5698e05..370391b9579ead0731809ce53e48785de416ead4 100644 (file)
@@ -2,15 +2,10 @@
 
 SERVER =
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
-#primary_hostname = myhost.test.ex
+.include DIR/aux-var/std_conf_prefix
+
 rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/SERVER%slog
 log_selector = +sender_on_delivery
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
@@ -26,16 +21,24 @@ queue_run_in_order
 begin acl
 
 conn_chk:
+.ifdef DELAY
   defer        condition = ${if eq {SERVER}{server}}
+.endif
   accept
 
 # ----- Routers -----
 
 begin routers
 
-client:
+r1:
+  driver = accept
+  condition = ${if eq {t1}{$sender_address_local_part}}
+  transport = t1
+
+r2:
   driver = accept
-  transport = $sender_address_local_part
+  condition = ${if eq {t2}{$sender_address_local_part}}
+  transport = t2
 
 # ----- Transports -----
 
@@ -47,19 +50,21 @@ t1:
   hosts = 127.0.0.1
   port = PORT_D
   interface = 127.0.0.1
+  hosts_try_fastopen = :
 
 t2:
   driver = smtp
   allow_localhost
   hosts = 127.0.0.1
   port = PORT_D
-  interface = 127.0.0.2
+  interface = HOSTIPV4
+  hosts_try_fastopen = :
 
 # ----- Retry -----
 
 begin retry
 
-* * F,5d,10s
+* * F,5d,1s
 
 # End