X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/f5d786885721c374cc22a1f1311ca01408a496fd..8241d8dda54bd5680b6fd8ef16108c0309a5ade7:/test/confs/5600?ds=sidebyside diff --git a/test/confs/5600 b/test/confs/5600 index 8b26ee7fa..2dc1090df 100644 --- a/test/confs/5600 +++ b/test/confs/5600 @@ -6,7 +6,6 @@ CRL= exim_path = EXIM_PATH host_lookup_order = bydns primary_hostname = server1.example.com -rfc1413_query_timeout = 0s spool_directory = DIR/spool log_file_path = DIR/spool/log/%slog gecos_pattern = "" @@ -14,6 +13,8 @@ gecos_name = CALLER_NAME # ----- Main settings ----- +acl_smtp_connect = check_connect +acl_smtp_mail = check_mail acl_smtp_rcpt = check_recipient log_selector = +tls_peerdn @@ -37,6 +38,16 @@ tls_ocsp_file = OCSP begin acl +check_connect: + accept logwrite = acl_conn: ocsp in status: $tls_in_ocsp \ + (${listextract {${eval:$tls_in_ocsp+1}} \ + {notreq:notresp:vfynotdone:failed:verified}}) + +check_mail: + accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \ + (${listextract {${eval:$tls_in_ocsp+1}} \ + {notreq:notresp:vfynotdone:failed:verified}}) + check_recipient: deny message = certificate not verified: peerdn=$tls_peerdn ! verify = certificate