Docs: use verified version of local_part variable in router require_files example
[users/heiko/exim.git] / test / confs / 0610
index f805c086cf363763e65fd8e15d85b5e7a5698e05..5ce2723aeee6f2f083533362c63b3d76217b3e28 100644 (file)
@@ -2,15 +2,10 @@
 
 SERVER =
 
 
 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
 rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/SERVER%slog
 log_selector = +sender_on_delivery
 log_selector = +sender_on_delivery
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
 
 # ----- Main settings -----
 
@@ -33,9 +28,15 @@ conn_chk:
 
 begin routers
 
 
 begin routers
 
-client:
+r1:
+  driver = accept
+  condition = ${if eq {t1}{$sender_address_local_part}}
+  transport = t1
+
+r2:
   driver = accept
   driver = accept
-  transport = $sender_address_local_part
+  condition = ${if eq {t2}{$sender_address_local_part}}
+  transport = t2
 
 # ----- Transports -----
 
 
 # ----- Transports -----
 
@@ -47,13 +48,15 @@ t1:
   hosts = 127.0.0.1
   port = PORT_D
   interface = 127.0.0.1
   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
 
 t2:
   driver = smtp
   allow_localhost
   hosts = 127.0.0.1
   port = PORT_D
-  interface = 127.0.0.2
+  interface = HOSTIPV4
+  hosts_try_fastopen = :
 
 # ----- Retry -----
 
 
 # ----- Retry -----