summaryrefslogtreecommitdiff
path: root/test/confs/1102
blob: 23afc36ee5d8ff80a3d82e4f10c3a3ae15a7ddf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Exim test configuration 1102

.include DIR/aux-var/tls_conf_prefix

primary_hostname = myhost.test.ex

# ----- Main settings -----

tls_advertise_hosts = *

tls_certificate = DIR/tmp/certs/servercert
tls_privatekey =  DIR/tmp/certs/serverkey
tls_ocsp_file =   DIR/tmp/certs/ocsp_proof

#tls_verify_certificates = DIR/aux-fixed/cert2
tls_verify_certificates = system,cache

queue_only
log_selector = +millisec

# --- ACL ---

acl_smtp_rcpt = acl_check_rcpt

begin acl
acl_check_rcpt:
    accept	logwrite = server cert: CN=${certextract{subject,CN}{$tls_in_ourcert}}

# End