debian experimental exim-daemon-heavy config
[exim.git] / test / confs / 2000
CommitLineData
afda344b
PH
1# Exim test configuration 2000
2
3SERVER=
4
d4dc049f
JH
5.include DIR/aux-var/tls_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
12
13log_selector = +tls_peerdn
14
15queue_only
16queue_run_in_order
17
18tls_advertise_hosts = *
1508acb8
PP
19# needed to force generation
20tls_dhparam = historic
afda344b
PH
21
22# Set certificate only if server
23
24tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26
27tls_verify_hosts = *
28tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
29
30
31# ----- Routers -----
32
33begin routers
34
35client:
36 driver = accept
37 condition = ${if eq {SERVER}{server}{no}{yes}}
38 retry_use_local_part
39 transport = send_to_server
40
41
42# ----- Transports -----
43
44begin transports
45
46send_to_server:
47 driver = smtp
48 allow_localhost
49 hosts = 127.0.0.1
50 port = PORT_D
277b9979 51 hosts_try_fastopen = :
afda344b
PH
52 tls_certificate = DIR/aux-fixed/cert2
53 tls_privatekey = DIR/aux-fixed/cert2
54 tls_verify_certificates = DIR/aux-fixed/cert2
610ff438 55 tls_try_verify_hosts =
afda344b
PH
56
57
58# ----- Retry -----
59
60
61begin retry
62
63* * F,5d,10s
64
65
66# End