summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-05-29 17:23:12 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-05-30 20:05:40 +0100
commitac4d558b5e07523392bab2b4468b4c9f73745af9 (patch)
tree264e10752b7ce64045d192c5a37333544b229e8b /test/confs
parentff7b612a42f909d457870feef575ae4bb8a2be8d (diff)
Malware: make "sock" cmdline default usable. Bug 2111
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/401229
1 files changed, 29 insertions, 0 deletions
diff --git a/test/confs/4012 b/test/confs/4012
new file mode 100644
index 000000000..9afd4a07c
--- /dev/null
+++ b/test/confs/4012
@@ -0,0 +1,29 @@
+# Exim test configuration 4012
+# Content-scan: sock interface
+
+.include DIR/aux-var/std_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+av_scanner = sock : 127.0.0.1 PORT_S : : BAD : NAME:: (\w+)
+
+# ----- Main settings -----
+
+acl_smtp_rcpt = accept
+acl_smtp_data = c_data
+
+begin acl
+
+c_data:
+ accept !malware = * OPT
+ deny logwrite = $callout_address malware_name $malware_name
+
+# ----- Routers -----
+
+begin routers
+
+r:
+ driver = redirect
+ data = :blackhole:
+
+# End