safer coding of router toplevel
[exim.git] / test / confs / 1102
1 # Exim test configuration 1102 & 5680
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 tls_advertise_hosts = *
10
11 tls_certificate = DIR/tmp/certs/servercert
12 tls_privatekey =  DIR/tmp/certs/serverkey
13 .ifdef OPT
14 tls_ocsp_file =   DIR/tmp/certs/ocsp_proof
15 .endif
16
17 #tls_verify_certificates = DIR/aux-fixed/cert2
18 tls_verify_certificates = system,cache
19
20 queue_only
21 log_selector = +millisec
22
23 # --- ACL ---
24
25 acl_smtp_rcpt = acl_check_rcpt
26
27 begin acl
28 acl_check_rcpt:
29     accept      logwrite = server cert: CN=${certextract{subject,CN}{$tls_in_ourcert}}
30
31 # End