X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/7c498df16cbb3d35eb8df3668ec426388f0dc974..75a647cb59e04896e04296c767763df72352a08e:/test/confs/0583 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