X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/4fab92fbc2b63bac2d89c1dae69fa1845cb640b7..5f3e2ac9f39db5c8ef5a408929c8a5aba957b20f:/test/confs/0098 diff --git a/test/confs/0098 b/test/confs/0098 index 465c2310a..e16b25eaa 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 @@ -69,17 +84,20 @@ local_delivery: driver = appendfile delivery_date_add envelope_to_add - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} return_path_add user = CALLER smtp: driver = smtp connect_timeout = 1s + port = PORT_D + hosts_try_fastopen = : smtp_connect_refused: driver = smtp port = PORT_N + hosts_try_fastopen = : # ----- Retry -----