Fix CVE-2016-1531
[exim.git] / test / confs / 2005
CommitLineData
afda344b
PH
1# Exim test configuration 2005
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14acl_smtp_rcpt = check_recipient
15
16domainlist local_domains = test.ex
17hostlist tls_relay_hosts = 127.0.0.1
18
19queue_only
20queue_run_in_order
21
22tls_advertise_hosts = *
23
24tls_certificate = DIR/aux-fixed/cert1
25tls_privatekey = DIR/aux-fixed/cert1
26
27# ----- ACL -----
28
29begin acl
30
31check_recipient:
32 accept domains = +local_domains
33 accept hosts = +tls_relay_hosts
34 endpass
35 message = encryption required
36 encrypted = *
37 deny message = relay not permitted
38
39
40# ----- Routers -----
41
42begin routers
43
44fail_remote_domains:
45 driver = redirect
46 domains = ! +local_domains
47 data = :fail: unrouteable mail domain "$domain"
48
49abc:
50 driver = accept
51 retry_use_local_part
52 transport = local_delivery
53
54
55# ----- Transports -----
56
57begin transports
58
59local_delivery:
60 driver = appendfile
61 file = DIR/test-mail/$local_part
62 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
63 user = CALLER
64
65# End