1 # Exim test configuration 5650
2 # OCSP stapling, server
6 .include DIR/aux-var/std_conf_prefix
8 primary_hostname = server1.example.com
10 # ----- Main settings -----
12 acl_smtp_connect = check_connect
13 acl_smtp_mail = check_mail
14 acl_smtp_rcpt = check_recipient
16 log_selector = +tls_peerdn
21 tls_advertise_hosts = *
23 tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
24 tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
28 #tls_verify_hosts = HOSTIPV4
29 #tls_try_verify_hosts = *
30 #tls_verify_certificates = DIR/aux-fixed/cert2
39 accept logwrite = acl_conn: ocsp in status: $tls_in_ocsp \
40 (${listextract {${eval:$tls_in_ocsp+1}} \
41 {notreq:notresp:vfynotdone:failed:verified}})
44 accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
45 (${listextract {${eval:$tls_in_ocsp+1}} \
46 {notreq:notresp:vfynotdone:failed:verified}})
59 transport = local_delivery
62 # ----- Transports -----
68 file = DIR/test-mail/$local_part
69 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn