diff --git a/modules/accounts/email.nix b/modules/accounts/email.nix index f33b3ffe4..8657c4cbd 100644 --- a/modules/accounts/email.nix +++ b/modules/accounts/email.nix @@ -465,9 +465,15 @@ let }) (mkIf (config.flavor == "runbox.com") { - imap = { host = "mail.runbox.com"; }; + imap = { + host = "mail.runbox.com"; + port = 993; + }; - smtp = { host = "mail.runbox.com"; }; + smtp = { + host = "mail.runbox.com"; + port = if config.smtp.tls.useStartTls then 587 else 465; + }; }) ]; };