diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-01 17:07:44 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-01 17:15:31 +0100 |
commit | da47dd4d092ba35e4f8ff055d79693cc1266c816 (patch) | |
tree | 43c12fd264f585b6512b35b49fc122b74d25ad71 /test/confs/0589 | |
parent | 8fee5c5df34587b1faec194d5073395f693e0492 (diff) | |
parent | 361615d1e97b82f4797381b749bc5977d7a1d66b (diff) |
Merge branch '4.next'
Diffstat (limited to 'test/confs/0589')
-rw-r--r-- | test/confs/0589 | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/test/confs/0589 b/test/confs/0589 new file mode 100644 index 000000000..b0f731143 --- /dev/null +++ b/test/confs/0589 @@ -0,0 +1,60 @@ +# Exim test configuration 0589 + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +acl_smtp_rcpt = chk_rcpt +log_selector = +millisec + +# --- ACL --- + +begin acl + +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 |