Docs: update info on MTA-STS. Bug 3091
[exim.git] / test / confs / 2110
1 # Exim test configuration 2110
2
3 SERVER =
4 HOSTS = 127.0.0.1 : HOSTIPV4
5
6 .include DIR/aux-var/tls_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 log_selector = +outgoing_port
13
14 acl_smtp_rcpt = accept
15
16 queue_only
17 queue_run_in_order
18
19 # Set certificate only if server
20
21 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23
24 tls_advertise_hosts = HOSTIPV4
25
26
27 # ----- Routers -----
28
29 begin routers
30
31 client:
32   driver = accept
33   condition = ${if eq {SERVER}{server}{no}{yes}}
34   retry_use_local_part
35   transport = send_to_server
36
37
38 # ----- Transports -----
39
40 begin transports
41
42 send_to_server:
43   driver = smtp
44   allow_localhost
45   hosts = HOSTS
46   port = PORT_D
47   hosts_try_fastopen = :
48   hosts_require_tls = *
49
50
51 # ----- Retry -----
52
53 begin retry
54
55 * tls_required
56 * *  F,1d,5m
57
58 # End