LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / test / confs / 2027
1 # Exim test configuration 2027
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 queue_only
14 queue_run_in_order
15
16 tls_advertise_hosts = *
17 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
18 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
19 tls_try_verify_hosts = 127.0.0.1
20 tls_verify_hosts = HOSTIPV4
21 tls_verify_certificates = DIR/aux-fixed/cert1
22
23 # ----- Routers -----
24
25 begin routers
26
27 client:
28   driver = accept
29   condition = ${if eq {SERVER}{server}{no}{yes}}
30   retry_use_local_part
31   transport = send_to_server
32
33 server:
34   driver = accept
35   retry_use_local_part
36   transport = local_delivery
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 local_delivery:
44   driver = appendfile
45   file = DIR/test-mail/$local_part
46   create_file = DIR/test-mail
47   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
48   user = CALLER
49
50 send_to_server:
51   driver =      smtp
52   allow_localhost
53   hosts =       ${if eq{$local_part}{userx}{127.0.0.1}{HOSTIPV4}}
54   port =        PORT_D
55   tls_verify_certificates =     DIR/aux-fixed/cert1
56   tls_verify_cert_hostnames =   :
57
58 # End