Testsuite: drop PRDR testcase from general MAIL-FROM-with-options testing
[exim.git] / test / confs / 0285
index f583248170e0b813d79bc26a670b9b6418a38342..20ec0263aeb345fad8bef5ac8ae96e3944382621 100644 (file)
@@ -1,13 +1,8 @@
 # Exim test configuration 0285
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+.include DIR/aux-var/std_conf_prefix
+
 primary_hostname = myhost.test.ex
-rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
@@ -28,7 +23,7 @@ all:
   driver = manualroute
   route_list = * 127.0.0.1 byname
   self = send
-  transport = smtp
+  transport = ${if eq {$domain}{test.ex} {smtp}{magic_smtp}}
 
 
 # ----- Transports -----
@@ -36,9 +31,17 @@ all:
 begin transports
 
 smtp:
-  driver = smtp
-  port = PORT_S
-  max_rcpt = 2
+  driver =     smtp
+  port =       PORT_S
+  hosts_try_fastopen = :
+  max_rcpt =   2
+  connection_max_messages = 3
+
+magic_smtp:
+  driver =     smtp
+  port =       PORT_S
+  hosts_try_fastopen = :
+  max_rcpt =   ${if match {$domain}{magic(\\d+)} {$1} {2}}
   connection_max_messages = 3