From 9747145a3ce589dd90432db2e9a0d3858e4f8b13 Mon Sep 17 00:00:00 2001 From: James Houlahan Date: Wed, 27 Jan 2021 10:08:33 +0100 Subject: [PATCH] feat: add logging for catalina detection when configuring applemail --- internal/frontend/qt/frontend.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/frontend/qt/frontend.go b/internal/frontend/qt/frontend.go index 177d48c4..a8df54f9 100644 --- a/internal/frontend/qt/frontend.go +++ b/internal/frontend/qt/frontend.go @@ -509,6 +509,10 @@ func (s *FrontendQt) configureAppleMail(iAccount, iAddress int) { s.settings.SetBool(settings.SMTPSSLKey, true) log.Warn("Detected Catalina or newer with bad SMTP SSL settings, now using SSL, bridge needs to restart") doRestart = true + } else if smtpSSL { + log.Debug("Bridge is already using SMTP SSL, no need to restart") + } else { + log.Debug("OS is pre-catalina (or not darwin at all), no need to change to SMTP SSL") } for _, autoConf := range autoconfig.Available() {