From ac4d558b5e07523392bab2b4468b4c9f73745af9 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 29 May 2017 17:23:12 +0100 Subject: Malware: make "sock" cmdline default usable. Bug 2111 --- test/confs/4012 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 test/confs/4012 (limited to 'test/confs') 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 -- cgit v1.2.3