Docs for transport tls_verify_hosts &c.
[exim.git] / test / confs / 2025
CommitLineData
afda344b
PH
1# Exim test configuration 2025
2
3SERVER=
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
8rfc1413_query_timeout = 0s
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/SERVER%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
16acl_smtp_rcpt = accept
17
18log_selector = +tls_peerdn+tls_certificate_verified
19
20queue_only
21queue_run_in_order
22
23tls_advertise_hosts = *
24
25tls_require_ciphers = ${if eq{$sender_host_address}{HOSTIPV4}\
26 {IDEA-CBC-MD5}{!RSA_AES_256:DES-CBC3-SHA}}
27
28# Set certificate only if server
29
30tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
32
33
34# ----- Routers -----
35
36begin routers
37
38client:
39 driver = accept
40 condition = ${if eq {SERVER}{server}{no}{yes}}
41 retry_use_local_part
42 transport = send_to_server
43
44
45# ----- Transports -----
46
47begin transports
48
49send_to_server:
50 driver = smtp
51 allow_localhost
52 hosts = HOSTIPV4 : 127.0.0.1
53 hosts_require_tls = HOSTIPV4
54 port = PORT_D
55
56
57# ----- Retry -----
58
59
60begin retry
61
62* * F,5d,10s
63
64
65# End