1 # Exim test configuration 5841
2 # DANE/OpenSSL - ciphers option
7 .include DIR/aux-var/tls_conf_prefix
9 primary_hostname = myhost.test.ex
11 # ----- Main settings -----
13 acl_smtp_rcpt = accept logwrite = "rcpt ACL"
15 log_selector = +received_recipients +tls_peerdn +tls_certificate_verified
17 tls_advertise_hosts = *
19 # Set certificate only if server
20 CDIR2 = DIR/aux-fixed/exim-ca/example.com/server1.example.com
22 tls_certificate = ${if eq {SERVER}{server} {CDIR2/fullchain.pem}fail}
23 tls_privatekey = ${if eq {SERVER}{server} {CDIR2/server1.example.com.unlocked.key}fail}
25 # Permit two specific ciphers
26 tls_require_ciphers = DHE-RSA-CAMELLIA256-SHA:ECDHE-RSA-AES256-GCM-SHA384
28 # Force TLS1.2 so that the ciphers choice works
30 .ifdef _OPT_OPENSSL_NO_TLSV1_3_X
31 openssl_options = +no_tlsv1_3
39 condition = ${if eq {SERVER}{}}
40 ignore_target_hosts = <; 0::0/0
41 dnssec_request_domains = *
43 transport = send_to_server
50 # ----- Transports -----
57 hosts_try_fastopen = :
59 tls_verify_certificates = CDIR2/ca_chain.pem
61 # Some commonly-available cipher, we hope
62 tls_require_ciphers = ECDHE-RSA-AES256-GCM-SHA384
63 dane_require_tls_ciphers = LIST