pipe transport: taint-enforce command
[exim.git] / test / confs / 2111
1 # Exim test configuration 2111
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 log_selector = +tls_peerdn
13 queue_only
14 queue_run_in_order
15
16 tls_advertise_hosts = *
17
18 # Set certificate only if server
19
20 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
21 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22
23 tls_verify_hosts = *
24 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
25
26 .ifdef _OPT_OPENSSL_NO_TLSV1_3_X
27 openssl_options = +no_tlsv1_3
28 .endif
29
30 # ----- Routers -----
31
32 begin routers
33
34 client:
35   driver = accept
36   condition = ${if eq {SERVER}{server}{no}{yes}}
37   retry_use_local_part
38   transport = send_to_server
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 send_to_server:
46   driver = smtp
47   allow_localhost
48   hosts = HOSTIPV4 : 127.0.0.1
49   port = PORT_D
50   hosts_try_fastopen = :
51   hosts_require_tls = HOSTIPV4
52   tls_certificate = DIR/aux-fixed/cert2
53   tls_privatekey = DIR/aux-fixed/cert2
54   tls_require_ciphers = IDEA-CBC-MD5:\
55     ${if eq{$host_address}{127.0.0.1}{:AES256-SHA:RSA_ARCFOUR_SHA}}
56
57 # End