Fix error codes in ACL-time quota checking
[exim.git] / test / confs / 0999
index 80d261f5f9de876b0129dac85ff4d37a0841d722..6ec62b6a4f5f3ed8f023ab94912acb0234a89fab 100644 (file)
@@ -13,11 +13,18 @@ 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