Docs: change example from match (RE) to match_ip (IP list)
[exim.git] / test / confs / 0999
index c3a2ad4d2d64e0a120d4332cccdd484847f053ff..6ec62b6a4f5f3ed8f023ab94912acb0234a89fab 100644 (file)
@@ -13,23 +13,30 @@ log_selector = +sender_on_delivery +millisec
 
 # ----- 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 -----