From 886ea1d213efd1082f419d066e89ef37635dc970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Basile=20Cl=C3=A9ment?= <129742207+bclement-ocp@users.noreply.github.com> Date: Mon, 4 Sep 2023 20:29:18 +0000 Subject: [PATCH] accounts.email: fix runbox.com TLS setup (#4408) --- modules/accounts/email.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; + }; }) ]; };