fd15dfc04f49c83cf092f36eefea4f01717944a3
[users/heiko/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 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14 log_selector = +subject
15
16 #XXX we need an additional test for tcp-connected clamd
17 av_scanner = clamd : DIR/eximdir/clam_sock CONTROL
18
19 # ----- Main settings -----
20
21 acl_smtp_rcpt = accept
22 acl_smtp_data = c_data
23
24 begin acl
25
26 c_data:
27   accept !malware = * OPT
28   deny   logwrite = malware_name $malware_name
29
30 # ----- Routers -----
31
32 begin routers
33
34 r:
35   driver = redirect
36   data = :blackhole:
37
38 # End