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 = NORMAL:-KX-ALL:+RSA:-CIPHER-ALL:+AES-128-CBC:+CAMELLIA-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 -----
52 tls_verify_certificates = CDIR2/ca_chain.pem
54 # Some commonly-available cipher, we hope
55 tls_require_ciphers = NORMAL:-CIPHER-ALL:+AES-128-CBC
56 dane_require_tls_ciphers = OPT