1 # Exim test configuration 5821
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 = NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+AES-128-CBC:+CAMELLIA-256-GCM:+SIGN-ALL:+COMP-NULL
33 condition = ${if eq {SERVER}{}}
34 dnssec_request_domains = *
36 transport = send_to_server
43 # ----- Transports -----
51 tls_verify_certificates = CDIR2/ca_chain.pem
53 # Some commonly-available cipher, we hope
54 tls_require_ciphers = NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+AES-128-CBC:+SIGN-ALL:+COMP-NULL
55 dane_require_tls_ciphers = OPT