Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / confs / 4004
index 84471acac9e48903bb02ec396e0d6f0e894d2808..1d00cc695d84c221bbd625cd5b1b2ebb9707a183 100644 (file)
@@ -1,16 +1,12 @@
-# Exim test configuration 4002
-# Content-scan: sophie interface
+# Exim test configuration 4003
+# Content-scan: rspamd interface
+
+.include DIR/aux-var/std_conf_prefix
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
-primary_hostname = myhost.test.ex
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 log_selector = +subject
+primary_hostname = myhost.test.ex
 
-av_scanner = sophie : DIR/eximdir/sophie_sock
+spamd_address = 127.0.0.1 11333 variant=rspamd
 
 # ----- Main settings -----
 
@@ -20,8 +16,11 @@ acl_smtp_data = c_data
 begin acl
 
 c_data:
-  accept !malware = * OPT
-  deny  logwrite = malware_name $malware_name
+  warn
+    spam = nobody
+  warn
+    log_message = $spam_action $spam_report
+  accept
 
 # ----- Routers -----