Testsuite: avoid fail on non-TLS bulid
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 25 May 2020 11:41:20 +0000 (12:41 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 25 May 2020 20:05:55 +0000 (21:05 +0100)
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