Expansions: new ${authresults {mch}} for an Authentication-Results header
[exim.git] / test / confs / 2105
CommitLineData
afda344b
PH
1# Exim test configuration 2105
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
10
11domainlist local_domains = test.ex
12hostlist tls_relay_hosts = 127.0.0.1
13
14queue_only
15queue_run_in_order
16
17tls_advertise_hosts = *
18
19tls_certificate = DIR/aux-fixed/cert1
20tls_privatekey = DIR/aux-fixed/cert1
21
22# ----- ACL -----
23
24begin acl
25
26check_recipient:
27 accept domains = +local_domains
28 accept hosts = +tls_relay_hosts
29 endpass
30 message = encryption required
31 encrypted = *
32 deny message = relay not permitted
33
34
35# ----- Routers -----
36
37begin routers
38
39fail_remote_domains:
40 driver = redirect
41 domains = ! +local_domains
42 data = :fail: unrouteable mail domain "$domain"
43
44abc:
45 driver = accept
46 retry_use_local_part
47 transport = local_delivery
48
49
50# ----- Transports -----
51
52begin transports
53
54local_delivery:
55 driver = appendfile
56 file = DIR/test-mail/$local_part
57 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
58 user = CALLER
59
60# End