-chk_rcpt:
- accept domains = OPT
- logwrite = domain $domain
- logwrite = value $domain_data
- logwrite = \$0 '$0' \$1 '$1'
+delay:
+ accept
+ logwrite = $sender_host_name
+ delay = 2s
+
+# ----- Routers -----
+begin routers
+r:
+ driver = accept
+ transport = smtp
+
+# ----- Trnasport -----
+begin transports
+smtp:
+ driver = smtp
+ hosts = ${if eq {b}{$local_part} {HOSTIPV4}{127.0.0.1}}
+ port = ${if eq {c}{$local_part} {PORT_D2}{PORT_D}}
+ allow_localhost
+ hosts_try_fastopen =
+ max_rcpt = 1
+
+# ----- Retry -----
+begin retry
+* * F,5d,1d