TPCF Deploy Notifications errand fails with: "SMTP TLS configuration mismatch: Not configured to use TLS over SMTP, but the mail server does support the "STARTTLS" extension"
search cancel

TPCF Deploy Notifications errand fails with: "SMTP TLS configuration mismatch: Not configured to use TLS over SMTP, but the mail server does support the "STARTTLS" extension"

book

Article ID: 398407

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

When attempting to run the deploy-notifications errand, it fails with the message:

SMTP TLS configuration mismatch: Not configured to use TLS over SMTP, but the mail server does support the "STARTTLS" extension

This prevents the application from starting.

Environment

TPCF

Cause

This error happens that the mail server configured in Ops Manager has the STARTTLS option advertised, but the connections being sent are non TLS. As such, the mails server is expecting TLS connections to be made when applications connect to it. The error It will always fail without TLS, if your mail server is advertising it.

Resolution

In the TPCF tile -> Email Notifications tab, the "Use StartTLS protocol" needs to be selected. This will ensure the correct protocol is made for connections to the mail server.