summaryrefslogtreecommitdiff
path: root/test/confs/4006
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-12-21 21:35:04 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-12 18:58:37 +0000
commit376e377e2de95486a752620f8e52d270cdab5c7c (patch)
tree24aafd8ca20683f8ad6d930748babd78f4f17bbb /test/confs/4006
parentfd02dc0e4e20ecebb0f247641c5aff519bc5e4db (diff)
Testsuite: case for malware= avast
Diffstat (limited to 'test/confs/4006')
-rw-r--r--test/confs/400633
1 files changed, 33 insertions, 0 deletions
diff --git a/test/confs/4006 b/test/confs/4006
new file mode 100644
index 000000000..230f1159e
--- /dev/null
+++ b/test/confs/4006
@@ -0,0 +1,33 @@
+# Exim test configuration 4002
+# Content-scan: avast 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 = avast : DIR/eximdir/avast_sock : OPTION
+
+# ----- 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