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 tls_advertise_hosts =
16 log_selector = +subject
17
18 #XXX we need an additional test for tcp-connected clamd
19 av_scanner = clamd : DIR/eximdir/clam_sock CONTROL
20
21 # ----- Main settings -----
22
23 acl_smtp_rcpt = accept
24 acl_smtp_data = c_data
25
26 begin acl
27
28 c_data:
29   accept !malware = * OPT
30   deny   logwrite = malware_name $malware_name
31
32 # ----- Routers -----
33
34 begin routers
35
36 r:
37   driver = redirect
38   data = :blackhole:
39
40 # End