Merge branch 'master' into transp_logging_1031
[users/jgh/exim.git] / test / confs / 5700
index 17241660534955601a1495e08baec2ad5238d525..52b28018a1964efb32ce632dfaa1d9cc99068c1e 100644 (file)
@@ -13,32 +13,37 @@ gecos_name = CALLER_NAME
 acl_smtp_rcpt = accept
 acl_smtp_data = accept
 
 acl_smtp_rcpt = accept
 acl_smtp_data = accept
 
-dbl_delivery_query = ${acl {logger}{delivery}}
-
 
 # ----- ACL -----
 
 begin acl
 
 logger:
 
 # ----- ACL -----
 
 begin acl
 
 logger:
-    accept logwrite = \
+    accept condition = ${if eq {$acl_arg2}{domain1}}
+          logwrite = \
            $acl_arg1 \
            $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> \
+           ip <$tpda_delivery_ip> \
+           port <$tpda_delivery_port> \
+           fqdn <$tpda_delivery_fqdn> \
+           local_part <$tpda_delivery_local_part> \
+           domain <$tpda_delivery_domain> \
+           confirmation <$tpda_delivery_confirmation> \
+           errno <$tpda_defer_errno> \
+           errstr <$tpda_defer_errstr> \
            router <$router_name> \
            transport <$transport_name>
 
            router <$router_name> \
            transport <$transport_name>
 
+    accept logwrite = $this_expansion_will_fail
 
 # ----- Routers -----
 
 begin routers
 
 
 # ----- Routers -----
 
 begin routers
 
+dump_bounces:
+  driver = redirect
+  senders = :
+  data = :blackhole:
+
 others:
   driver = manualroute
   route_list = * 127.0.0.1 byname
 others:
   driver = manualroute
   route_list = * 127.0.0.1 byname
@@ -56,6 +61,7 @@ smtp:
   port = PORT_S
   command_timeout = 1s
   final_timeout = 1s
   port = PORT_S
   command_timeout = 1s
   final_timeout = 1s
-  dbl_host_defer_query = ${acl {logger}{deferral}}
+  tpda_delivery_action =   ${acl {logger} {delivery} {$domain} }
+  tpda_host_defer_action = ${acl {logger} {deferral} {$domain} }
 
 # End
 
 # End