Docs: use verified version of local_part variable in router require_files example
[users/heiko/exim.git] / test / confs / 4003
index e2d65baa1113c537417d15874dbb581fb22e9d14..043a1eccb8fb72816f6e46afcc2595e61e2fa42c 100644 (file)
@@ -1,15 +1,17 @@
 # Exim test configuration 4002
-# Content-scan: fsecure interface
+# Content-scan: spamassassin interface
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+OPT= 127.0.0.1 7833
+
+.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
+# we need to set the sender
+trusted_users = CALLER
+
+spamd_address = OPT
 
 # ----- Main settings -----
 
@@ -19,8 +21,11 @@ acl_smtp_data = c_data
 begin acl
 
 c_data:
-  accept !malware = *
-  deny  logwrite = malware_name $malware_name
+  warn
+    spam = nobody
+  warn
+    log_message = $callout_address $spam_action $spam_report
+  accept
 
 # ----- Routers -----