Merge branch 'master' into 4.next
[exim.git] / test / confs / 2104
CommitLineData
afda344b
PH
1# Exim test configuration 2104
2
d4dc049f
JH
3.include DIR/aux-var/tls_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9acl_smtp_rcpt = check_recipient
10hostlist tls_hosts = 127.0.0.1
11
12queue_only
13queue_run_in_order
14
15tls_certificate = DIR/aux-fixed/cert1
16tls_privatekey = DIR/aux-fixed/cert1
17
18tls_advertise_hosts = 127.0.0.1 : HOSTIPV4
19
20# ----- ACL -----
21
22begin acl
23
24check_recipient:
25 deny hosts = +tls_hosts
26 message = encryption required
27 !encrypted = *
28 accept
29
30
31# ----- Routers -----
32
33begin routers
34
35abc:
36 driver = accept
37 retry_use_local_part
38 transport = local_delivery
39
40
41# ----- Transports -----
42
43begin transports
44
45local_delivery:
46 driver = appendfile
47 file = DIR/test-mail/$local_part
48 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
49 user = CALLER
50
51# End