Make router_name and transport_name usable for the expansions
[users/jgh/exim.git] / test / confs / 5700
index 935d0adb29b4002efe09ccfe7df1be824b6304b3..17241660534955601a1495e08baec2ad5238d525 100644 (file)
@@ -13,26 +13,26 @@ gecos_name = CALLER_NAME
 acl_smtp_rcpt = accept
 acl_smtp_data = accept
 
-dbl_delivery_query = ${acl {a_logger}}
+dbl_delivery_query = ${acl {logger}{delivery}}
 
 
 # ----- ACL -----
 
 begin acl
 
-a_logger:
-    require logwrite = \
-           A \
-           1 <$dbl_delivery_ip> \
-           2 <$dbl_delivery_port> \
-           3 <$dbl_delivery_fqdn> \
-           4 <$dbl_delivery_local_part> \
-           5 <$dbl_delivery_domain> \
-           6 <$dbl_delivery_confirmation> \
-           7 <$dbl_defer_errno> \
-           8 <$dbl_defer_errstr> \
-           9 <$router_name> \
-           10 <$transport_name>
+logger:
+    accept logwrite = \
+           $acl_arg1 \
+           ip <$dbl_delivery_ip> \
+           port <$dbl_delivery_port> \
+           fqdn <$dbl_delivery_fqdn> \
+           local_part <$dbl_delivery_local_part> \
+           domain <$dbl_delivery_domain> \
+           confirmation <$dbl_delivery_confirmation> \
+           errno <$dbl_defer_errno> \
+           errstr <$dbl_defer_errstr> \
+           router <$router_name> \
+           transport <$transport_name>
 
 
 # ----- Routers -----
@@ -41,7 +41,7 @@ begin routers
 
 others:
   driver = manualroute
-  route_list = domain1 127.0.0.1 byname
+  route_list = * 127.0.0.1 byname
   self = send
   transport = smtp
   no_more
@@ -54,5 +54,8 @@ begin transports
 smtp:
   driver = smtp
   port = PORT_S
+  command_timeout = 1s
+  final_timeout = 1s
+  dbl_host_defer_query = ${acl {logger}{deferral}}
 
 # End