TLS: harden error-detection in TLS proxy process
[users/heiko/exim.git] / test / confs / 3901
index 5c7e7298a7be266085f69308cba30869cc578b67..bdcfbce1f967658abf49fce6e24ea439d5520c04 100644 (file)
@@ -10,11 +10,13 @@ primary_hostname = myhost.test.ex
 
 acl_smtp_rcpt = check_recipient
 
+.ifdef TRUSTED
 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 
 tls_verify_hosts = HOSTIPV4
 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
+.endif
 
 queue_only