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