Testsuite: split bounce longline testcase int with/out DSN-info variants
[exim.git] / test / confs / 0583
index ae5b55d464cb2aa306d4a165b6f94a2e73218016..9a329168a69d57626d8c70337c4123f7560c0fbc 100644 (file)
@@ -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