summaryrefslogtreecommitdiff
path: root/test/confs/0098
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-12-05 16:09:01 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-12-05 17:09:00 +0000
commitde6f74f297d040a34746bc8e1829ad4b867441c9 (patch)
tree916aae85d7f73eab654f2a858f4b634aa3342811 /test/confs/0098
parent8b4556856d2434c8006df5011d4855c07a7ba2b8 (diff)
Send delay-MDN for any queurun past delay_warning, even if not retry time yet. Bug 2341
Diffstat (limited to 'test/confs/0098')
-rw-r--r--test/confs/009816
1 files changed, 16 insertions, 0 deletions
diff --git a/test/confs/0098 b/test/confs/0098
index 465c2310a..719971c9c 100644
--- a/test/confs/0098
+++ b/test/confs/0098
@@ -10,6 +10,7 @@ WMF=
qualify_domain = test.ex
domainlist local_domains = test.ex : another.test.ex
+acl_smtp_rcpt = server_acl
delay_warning = 10s:40s:10m
@@ -24,6 +25,14 @@ queue_run_in_order
WMF
+# ----- ACL -----
+
+# Only used in server mode
+begin acl
+server_acl:
+ defer message = Over-quota
+
+
# ----- Routers -----
begin routers
@@ -35,6 +44,12 @@ refused:
self = send
transport = smtp_connect_refused
+remote_quota:
+ driver = manualroute
+ route_list = remote.defer 127.0.0.1
+ self = send
+ transport = smtp
+
# The IP address is deliberately V4NET.0.0.1 so as to be unreachable
all:
driver = manualroute
@@ -76,6 +91,7 @@ local_delivery:
smtp:
driver = smtp
connect_timeout = 1s
+ port = PORT_D
smtp_connect_refused:
driver = smtp