1 # Exim test configuration 5650
2 # OCSP stapling, server
7 host_lookup_order = bydns
8 primary_hostname = server1.example.com
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 acl_smtp_connect = check_connect
17 acl_smtp_mail = check_mail
18 acl_smtp_rcpt = check_recipient
20 log_selector = +tls_peerdn
25 tls_advertise_hosts = *
27 tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
28 tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
32 #tls_verify_hosts = HOSTIPV4
33 #tls_try_verify_hosts = *
34 #tls_verify_certificates = DIR/aux-fixed/cert2
43 accept logwrite = acl_conn: ocsp in status: $tls_in_ocsp \
44 (${listextract {${eval:$tls_in_ocsp+1}} \
45 {notreq:notresp:vfynotdone:failed:verified}})
48 accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
49 (${listextract {${eval:$tls_in_ocsp+1}} \
50 {notreq:notresp:vfynotdone:failed:verified}})
63 transport = local_delivery
66 # ----- Transports -----
72 file = DIR/test-mail/$local_part
73 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn