Merge branch 'master' into 4.next
[exim.git] / test / confs / 2149
1 # Exim test configuration 2149
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 tls_advertise_hosts =   *
14 tls_certificate =       DIR/aux-fixed/cert1
15
16 .ifdef DATA
17 tls_eccurve =           DATA
18 .endif
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 client:
26   driver =      accept
27   condition =   ${if eq {SERVER}{server}{no}{yes}}
28   retry_use_local_part
29   transport =   send_to_server
30   errors_to =   ""
31
32 server:
33   driver =      redirect
34   data =        :blackhole:
35
36 # ----- Transports -----
37
38 begin transports
39
40 send_to_server:
41   driver =      smtp
42   allow_localhost
43   hosts =       127.0.0.1
44   port =        PORT_D
45   hosts_try_fastopen =          :
46   tls_verify_certificates =     DIR/aux-fixed/cert1
47   tls_verify_cert_hostnames =   :
48   hosts_require_tls =           *
49
50 # End