Fix crash in transport, on second smtp-connect fail for a list of target hosts
[users/heiko/exim.git] / test / confs / 0099
index e35ad5fcfbf89e54c76c1c6e5001a791244fc30d..8b4299130b65253f594e54dd769b628ccf08de86 100644 (file)
@@ -1,28 +1,36 @@
 # Exim test configuration 0099
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
-rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
+RETRY =
+
+.include DIR/aux-var/std_conf_prefix
+
 
 # ----- Main settings -----
 
 primary_hostname = primary.test.ex
 qualify_domain = test.ex
 retry_data_expire = 2s
+log_selector = +received_recipients
 
 
 # ----- Routers -----
 
 begin routers
 
+bydns:
+  driver = dnslookup
+  domains = mxt2.test.ex : mxnonexist.test.ex
+  transport = smtp
+  fail_defer_domains = *
+
 all:
   driver = manualroute
-  route_list = "* 127.0.0.1 byname"
+  route_list = simple  thishost.test.ex  byname \
+            ; complex thisloop.test.ex  byname \
+            ; nonexist nonexist.test.ex byname \
+            ; *       127.0.0.1         byname
   self = send
+  host_find_failed = defer
   transport = smtp
 
 
@@ -33,6 +41,7 @@ begin transports
 smtp:
   driver = smtp
   port = 999
+  RETRY
 
 
 # ----- Retry -----
@@ -45,6 +54,7 @@ begin retry
 rcpt45x.test.ex              rcpt_45x      F,10d,2m
 rcpt463.test.ex              rcpt_463      F,10d,3m
 rcpt4xx.test.ex              rcpt_4xx      F,10d,1m
+*                            lookup        F,10d,30m
 
 *@\N^\d                      *             F,5d,1m
 *@*.abcd.ex                  *             F,5d,2m
@@ -54,6 +64,7 @@ rcpt4xx.test.ex              rcpt_4xx      F,10d,1m
 *@@                          *             F,5d,6m
 lsearch*@;DIR/aux-fixed/TESTNUM.rlist  *             F,1d,3m
 *.star.ex                    *             F,3d,10m
-*                            *             F,2d,15m
+!*.not.ex                    *             F,2d,15m
+*                            *             F,12d,150m
 
 # End