Avoid doing logging in signal-handlers. Bug 1007
[exim.git] / test / confs / 4003
index e2d65baa1113c537417d15874dbb581fb22e9d14..1d00cc695d84c221bbd625cd5b1b2ebb9707a183 100644 (file)
@@ -1,15 +1,12 @@
-# Exim test configuration 4002
-# Content-scan: fsecure interface
+# Exim test configuration 4003
+# Content-scan: rspamd interface
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+.include DIR/aux-var/std_conf_prefix
+
+log_selector = +subject
 primary_hostname = myhost.test.ex
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
-av_scanner = fsecure : DIR/eximdir/fsec_sock
+spamd_address = 127.0.0.1 11333 variant=rspamd
 
 # ----- Main settings -----
 
@@ -19,8 +16,11 @@ acl_smtp_data = c_data
 begin acl
 
 c_data:
-  accept !malware = *
-  deny  logwrite = malware_name $malware_name
+  warn
+    spam = nobody
+  warn
+    log_message = $spam_action $spam_report
+  accept
 
 # ----- Routers -----