1 # Exim test configuration 2014
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = check_recipient
13 log_selector = +tls_peerdn
18 tls_advertise_hosts = *
20 tls_certificate = DIR/aux-fixed/cert1
21 tls_privatekey = DIR/aux-fixed/cert1
23 tls_verify_hosts = HOSTIPV4
24 tls_try_verify_hosts = *
25 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
34 deny message = certificate not verified: peerdn=$tls_in_peerdn
35 ! verify = certificate
46 transport = local_delivery
49 # ----- Transports -----
55 file = DIR/test-mail/$local_part
56 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_in_peerdn