Testsuite: tidying GnuTLS with TLS1.3
[exim.git] / test / confs / 2013
1 # Exim test configuration 2013
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+smtp_connection+incoming_port+received_recipients
14
15 queue_only
16 queue_run_in_order
17
18 smtp_accept_max_nonmail = 0
19
20 tls_advertise_hosts = *
21
22 # Set certificate only if server
23
24 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 .ifdef REQUIRE
33 cl_override:
34   driver = manualroute
35   route_data = HOSTIPV4
36   retry_use_local_part
37   transport = send_to_server
38   self = send
39 .endif
40
41 client:
42   driver = accept
43   condition = ${if eq {SERVER}{server}{no}{yes}}
44   retry_use_local_part
45   transport = send_to_server
46
47 server:
48   driver = accept
49   retry_use_local_part
50   transport = local_delivery
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 local_delivery:
58   driver = appendfile
59   file = DIR/test-mail/$local_part
60   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
61   user = CALLER
62
63 send_to_server:
64   driver = smtp
65   allow_localhost
66   hosts_override
67   hosts = 127.0.0.1
68   hosts_noproxy_tls = :
69   port = PORT_D
70   tls_try_verify_hosts = :
71
72 # End