mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
fix(notifier): remove SMTPS warning (#2200)
Removes a warning about SMTPS when using port 465 and replaces it with info about SUBMISSIONS.
This commit is contained in:
parent
d49f2908e0
commit
5ed0636f77
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user