acl_smtp_rcpt = accept
acl_smtp_data = accept
-dbl_delivery_query = ${acl {logger}{delivery}}
-
# ----- ACL -----
begin acl
logger:
- accept logwrite = \
+ accept condition = ${if eq {$acl_arg2}{domain1}}
+ 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> \
+ 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>
+ accept logwrite = $this_expansion_will_fail
# ----- Routers -----
begin routers
+dump_bounces:
+ driver = redirect
+ senders = :
+ data = :blackhole:
+
others:
driver = manualroute
route_list = * 127.0.0.1 byname
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