Pass on SIZE to cutthrough connection
[users/heiko/exim.git] / test / confs / 5650
index 12584c731896965beb0642f2ff2339014ee62add..bf4462be3a1a4a9e1a2d7ffe753176212486c417 100644 (file)
@@ -6,7 +6,6 @@ CRL=
 exim_path = EXIM_PATH
 host_lookup_order = bydns
 primary_hostname = server1.example.com
 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 = ""
 spool_directory = DIR/spool
 log_file_path = DIR/spool/log/%slog
 gecos_pattern = ""
@@ -14,6 +13,8 @@ gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
 
 # ----- Main settings -----
 
+acl_smtp_connect = check_connect
+acl_smtp_mail = check_mail
 acl_smtp_rcpt = check_recipient
 
 log_selector = +tls_peerdn
 acl_smtp_rcpt = check_recipient
 
 log_selector = +tls_peerdn
@@ -38,6 +39,16 @@ tls_ocsp_file = OCSP
 
 begin acl
 
 
 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:
   accept
 
 check_recipient:
   accept