Fix CVE-2016-1531
[exim.git] / test / confs / 4005
1 # Exim test configuration 4005
2 # Content-scan: clamav interface
3
4 OPT=
5 CONTROL=
6
7 exim_path = EXIM_PATH
8 keep_environment =
9 host_lookup_order = bydns
10 primary_hostname = myhost.test.ex
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/%slog
13 gecos_pattern = ""
14 gecos_name = CALLER_NAME
15 log_selector = +subject
16
17 #XXX we need an additional test for tcp-connected clamd
18 av_scanner = clamd : DIR/eximdir/clam_sock CONTROL
19
20 # ----- Main settings -----
21
22 acl_smtp_rcpt = accept
23 acl_smtp_data = c_data
24
25 begin acl
26
27 c_data:
28   accept !malware = * OPT
29   deny   logwrite = malware_name $malware_name
30
31 # ----- Routers -----
32
33 begin routers
34
35 r:
36   driver = redirect
37   data = :blackhole:
38
39 # End