Manualroute: use same host for all RCPTs of a message, even under hosts_randomize...
[exim.git] / test / confs / 0099
index e54cf628c18d805bc6559b616b1f56fff8c79df2..c4e1a8339a0845ac4f46fc920185b4c00bcaf231 100644 (file)
@@ -21,12 +21,20 @@ log_selector = +received_recipients
 
 begin routers
 
 
 begin routers
 
+bydns:
+  driver = dnslookup
+  domains = mxt2.test.ex
+  transport = smtp
+  fail_defer_domains = *
+
 all:
   driver = manualroute
   route_list = simple  thishost.test.ex  byname \
             ; complex thisloop.test.ex  byname \
 all:
   driver = manualroute
   route_list = simple  thishost.test.ex  byname \
             ; complex thisloop.test.ex  byname \
+            ; nonexist nonexist.test.ex byname \
             ; *       127.0.0.1         byname
   self = send
             ; *       127.0.0.1         byname
   self = send
+  host_find_failed = defer
   transport = smtp
 
 
   transport = smtp
 
 
@@ -50,6 +58,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
 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
 
 *@\N^\d                      *             F,5d,1m
 *@*.abcd.ex                  *             F,5d,2m