summaryrefslogtreecommitdiff
path: root/test/confs/4014
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-01-01 13:14:41 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-01-01 17:10:23 +0000
commitc11d665dab975691024f9231ad93c65bef7e5df4 (patch)
treeac2a5701c6511c08266c4fb122e71a481a73bfc2 /test/confs/4014
parentadf73d3717be93cdbbb38c7e2e4bb0531d1cca27 (diff)
Feature macros, show-supported and build-time selection for malware interfaces
Diffstat (limited to 'test/confs/4014')
-rw-r--r--test/confs/401429
1 files changed, 29 insertions, 0 deletions
diff --git a/test/confs/4014 b/test/confs/4014
new file mode 100644
index 000000000..e4582fa3d
--- /dev/null
+++ b/test/confs/4014
@@ -0,0 +1,29 @@
+# Exim test configuration 4014
+# 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