Logging: add I= element to transport-defer lines. Bug 2675
[exim.git] / test / confs / 4004
index 9bc22ce2e39d43a580e3b8a246509a57d8fda522..1d00cc695d84c221bbd625cd5b1b2ebb9707a183 100644 (file)
@@ -1,12 +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
 
 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 -----
 
@@ -16,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 -----