Testsuite: case for malware= avast
[users/jgh/exim.git] / test / confs / 2004
1 # Exim test configuration 2004
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_recipient
14 hostlist tls_hosts = 127.0.0.1
15
16 queue_only
17 queue_run_in_order
18
19 tls_certificate = DIR/aux-fixed/cert1
20 tls_privatekey = DIR/aux-fixed/cert1
21
22 tls_advertise_hosts = 127.0.0.1 : HOSTIPV4
23
24 # ----- ACL -----
25
26 begin acl
27
28 check_recipient:
29   deny    hosts = +tls_hosts
30           message = encryption required
31          !encrypted = *
32   accept
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 abc:
40   driver = accept
41   retry_use_local_part
42   transport = local_delivery
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 local_delivery:
50   driver = appendfile
51   file = DIR/test-mail/$local_part
52   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
53   user = CALLER
54
55 # End