summaryrefslogtreecommitdiff
path: root/test/confs/0583
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-10-11 12:42:20 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-10-11 13:31:44 +0100
commit6bacc7090a4d219a48899c5b5b08b33f4811dc7f (patch)
treed52003a20c412ec92fe07468b318b8635fd6e55d /test/confs/0583
parent2d432dfd22141f9933cac8ab3e26a8babaf87bef (diff)
Testsuite: case-number shuffling
Diffstat (limited to 'test/confs/0583')
-rw-r--r--test/confs/058354
1 files changed, 45 insertions, 9 deletions
diff --git a/test/confs/0583 b/test/confs/0583
index ae5b55d46..9a329168a 100644
--- a/test/confs/0583
+++ b/test/confs/0583
@@ -1,24 +1,60 @@
# Exim test configuration 0583
-ERROR_DETAILS=
-
.include DIR/aux-var/std_conf_prefix
primary_hostname = myhost.test.ex
# ----- Main settings -----
-acl_smtp_rcpt = accept
-acl_smtp_data = check_data
-
-ERROR_DETAILS
+acl_smtp_rcpt = chk_rcpt
+log_selector = +millisec
-# ----- ACL ------
+# --- ACL ---
begin acl
-check_data:
- accept verify = not_blind/case_insensitive
+chk_rcpt:
+ deny !verify = recipient/quota=cachepos=20s,cacheneg=100s
+ logwrite = where='$recipient_verify_failure' msg='$acl_verify_message'
+ accept
+
+loggit:
+ accept logwrite = $acl_arg1 was called for $local_part@$domain
+ message = /
+
+# ----- Routers -----
+
+begin routers
+
+localuser:
+ driver = accept
+ local_parts = !route_fail
+ transport = appendfile
+ # set address_data purely to get logging of use of the router
+ address_data = ${acl {loggit}{router }}
+
+failrouter:
+ driver = accept
+ condition = ${if eq {${acl {loggit}{router }}}{} {no}{no}}
+ transport = appendfile
+
+# ----- Transports -----
+
+begin transports
+
+appendfile:
+ driver = appendfile
+ file = DIR/test-mail/themailfile
+ quota = 1k
+ user = CALLER
+ # set homedir purely to get logging of use of the transport
+ home_directory = ${acl {loggit}{transport}}
+
+# ----- Retry -----
+
+begin retry
+
+* * F,5d,1d
# End