From 5ed0636f772211d3ede92e50c0311b8ec6398a0b Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Fri, 30 Jul 2021 05:15:12 +0200 Subject: [PATCH] fix(notifier): remove SMTPS warning (#2200) Removes a warning about SMTPS when using port 465 and replaces it with info about SUBMISSIONS. --- internal/notification/smtp_notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/notification/smtp_notifier.go b/internal/notification/smtp_notifier.go index 60e35e65d..d2d149ce7 100644 --- a/internal/notification/smtp_notifier.go +++ b/internal/notification/smtp_notifier.go @@ -193,7 +193,7 @@ func (n *SMTPNotifier) dial() error { logger.Debugf("Notifier SMTP client attempting connection to %s", n.address) if n.port == 465 { - logger.Warnf("Notifier SMTP client configured to connect to a SMTPS server. It's highly recommended you use a non SMTPS port and STARTTLS instead of SMTPS, as the protocol is long deprecated.") + logger.Infof("Notifier SMTP client using submissions port 465. Make sure the mail server you are connecting to is configured for submissions and not SMTPS.") conn, err := tls.Dial("tcp", n.address, n.tlsConfig) if err != nil {