refactor
[exim.git] / test / confs / 4004
index be674b502decbeea1d88a21d44318bfd96b8b08e..1d00cc695d84c221bbd625cd5b1b2ebb9707a183 100644 (file)
@@ -1,17 +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
-tls_advertise_hosts =
+primary_hostname = myhost.test.ex
 
-av_scanner = sophie : DIR/eximdir/sophie_sock
+spamd_address = 127.0.0.1 11333 variant=rspamd
 
 # ----- Main settings -----
 
@@ -21,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 -----