Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / confs / 0098
index 60402deaf362a4a8c18d5f233bcc553dd383bef4..a1151378d9b77d3a639f9cf415e3def6c35edbaf 100644 (file)
@@ -2,20 +2,15 @@
 
 WMF=
 
-exim_path = EXIM_PATH
-keep_environment =
-host_lookup_order = bydns
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+.include DIR/aux-var/std_conf_prefix
+
 
 # ----- Main settings -----
 
 qualify_domain = test.ex
 
 domainlist local_domains = test.ex : another.test.ex
+acl_smtp_rcpt = server_acl
 
 delay_warning = 10s:40s:10m
 
@@ -30,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
@@ -41,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
@@ -76,16 +85,20 @@ local_delivery:
   delivery_date_add
   envelope_to_add
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   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 -----