mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
feat: add logging for catalina detection when configuring applemail
This commit is contained in:
@ -509,6 +509,10 @@ func (s *FrontendQt) configureAppleMail(iAccount, iAddress int) {
|
|||||||
s.settings.SetBool(settings.SMTPSSLKey, true)
|
s.settings.SetBool(settings.SMTPSSLKey, true)
|
||||||
log.Warn("Detected Catalina or newer with bad SMTP SSL settings, now using SSL, bridge needs to restart")
|
log.Warn("Detected Catalina or newer with bad SMTP SSL settings, now using SSL, bridge needs to restart")
|
||||||
doRestart = true
|
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() {
|
for _, autoConf := range autoconfig.Available() {
|
||||||
|
|||||||
Reference in New Issue
Block a user