1 # Exim test configuration 5821
2 # DANE/GnuTLS - 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: tls_in_bits $tls_in_bits"
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 = CDIR2/fullchain.pem
23 tls_privatekey = CDIR2/server1.example.com.unlocked.key
25 # Permit two specific ciphers
26 tls_require_ciphers = NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+RSA:-CIPHER-ALL:+AES-128-CBC:+AES-256-GCM
33 condition = ${if eq {SERVER}{}}
34 ignore_target_hosts = <; 0::0/0
35 dnssec_request_domains = *
37 transport = send_to_server
44 # ----- Transports -----
51 hosts_try_fastopen = :
53 tls_verify_certificates = CDIR2/ca_chain.pem
55 # Some commonly-available cipher, we hope
56 tls_require_ciphers = NORMAL:-CIPHER-ALL:+AES-128-CBC
57 dane_require_tls_ciphers = OPT