# ----- Main settings -----
-acl_smtp_rcpt = accept
+acl_smtp_rcpt = chk_rcpt
-queue_only
+smtp_accept_queue_per_connection = 0
queue_fast_ramp
+begin acl
+
+chk_rcpt:
+ warn condition = ${if eq {local-smtp}{$received_protocol}}
+ control = queue_only
+ accept
+
# ----- Routers -----
begin routers
-client:
- driver = accept
- condition = ${if eq {SERVER}{server}{no}{yes}}
- transport = send_to_server
+drain_q:
+ driver = accept
+ condition = ${if !def:sender_host_address}
+ transport = send_to_server
-server:
- driver = accept
- transport = send_to_server
+targetsys:
+ driver = redirect
+ data = :blackhole:
# ----- Transports -----