Build: fix Solaris
[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/${bless:$local_part}
46   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
47   user = CALLER
48
49 send_to_server:
50   driver =      smtp
51   allow_localhost
52   hosts =       ${if eq{$local_part}{userx}{127.0.0.1}{HOSTIPV4}}
53   port =        PORT_D
54   tls_verify_certificates =     DIR/aux-fixed/cert1
55   tls_verify_cert_hostnames =   :
56
57 # End