fix(notifier): remove SMTPS warning (#2200)

Removes a warning about SMTPS when using port 465 and replaces it with info about SUBMISSIONS.
pull/2172/head^2
Georg Lauterbach 2021-07-30 05:15:12 +02:00 committed by GitHub
parent d49f2908e0
commit 5ed0636f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ func (n *SMTPNotifier) dial() error {
logger.Debugf("Notifier SMTP client attempting connection to %s", n.address) logger.Debugf("Notifier SMTP client attempting connection to %s", n.address)
if n.port == 465 { 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) conn, err := tls.Dial("tcp", n.address, n.tlsConfig)
if err != nil { if err != nil {