DANE: fix TA-mode verify under GnuTLS. Bug 2311
[exim.git] / test / confs / 2125
1 # Exim test configuration 2125
2
3 SERVER=
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 log_selector =  +tls_peerdn+tls_certificate_verified
14
15 queue_only
16 queue_run_in_order
17
18 tls_advertise_hosts = *
19
20 tls_require_ciphers = ${if eq{$sender_host_address}{HOSTIPV4}\
21                       {AES256}{AES128}}
22
23 # Set certificate only if server
24
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28
29 # ----- Routers -----
30
31 begin routers
32
33 client:
34   driver = accept
35   condition = ${if eq {SERVER}{server}{no}{yes}}
36   retry_use_local_part
37   transport = send_to_server
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 send_to_server:
45   driver = smtp
46   allow_localhost
47   hosts = HOSTIPV4 : 127.0.0.1
48   hosts_require_tls = HOSTIPV4
49   tls_require_ciphers = AES128-SHA
50   port = PORT_D
51   tls_try_verify_hosts = :
52
53
54 # ----- Retry -----
55
56
57 begin retry
58
59 * * F,5d,10s
60
61
62 # End