summaryrefslogtreecommitdiff
path: root/test/confs/4007
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-12-27 20:35:08 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-12-27 20:42:13 +0000
commit093632c96953bfc8fb96d607e0605534efa64252 (patch)
treea96552ad6008fb598e0f31109605e55306df401b /test/confs/4007
parentbfbad1dddf8b26ef0e14e48a36edc4a8bf1425e4 (diff)
Testsuite: case for malware= cmdline
Diffstat (limited to 'test/confs/4007')
-rw-r--r--test/confs/400733
1 files changed, 33 insertions, 0 deletions
diff --git a/test/confs/4007 b/test/confs/4007
new file mode 100644
index 000000000..576c0087f
--- /dev/null
+++ b/test/confs/4007
@@ -0,0 +1,33 @@
+# Exim test configuration 4007
+# Content-scan: cmsline interface
+
+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
+
+av_scanner = cmdline : DIR/aux-fixed/TESTNUM.script -o OPT %s : found in file : ^(\S*)
+
+# ----- Main settings -----
+
+acl_smtp_rcpt = accept
+acl_smtp_data = c_data
+
+begin acl
+
+c_data:
+ accept !malware = *
+ deny logwrite = malware_name $malware_name
+
+# ----- Routers -----
+
+begin routers
+
+r:
+ driver = redirect
+ data = :blackhole:
+
+# End