Testsuite: use higher-spec certs, for more-recent GnuTLS versions which deprecate...
[exim.git] / test / confs / 2001
1 # Exim test configuration 2001
2
3 OPTION=
4 SERVER=
5
6 .include DIR/aux-var/tls_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = accept
13
14 log_selector =  +tls_peerdn
15
16 queue_only
17 queue_run_in_order
18
19 tls_advertise_hosts = *
20
21 # Set certificate only if server
22
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26
27 # so we can decode in wireshark
28 tls_require_ciphers = NORMAL:-KX-ALL:+RSA
29
30 # ----- Routers -----
31
32 begin routers
33
34 client:
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
43 begin transports
44
45 send_to_server:
46   driver = smtp
47   allow_localhost
48   hosts = 127.0.0.1
49   hosts_try_fastopen =  :
50   OPTION
51   port = PORT_D
52   tls_verify_certificates = DIR/aux-fixed/cert2
53   tls_try_verify_hosts =
54
55
56 # ----- Retry -----
57
58
59 begin retry
60
61 * * F,5d,10s
62
63
64 # End