accounts.email: fix runbox.com TLS setup (#4408)

This commit is contained in:
Basile Clément 2023-09-04 20:29:18 +00:00 committed by GitHub
parent 8e49b88389
commit 886ea1d213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,9 +465,15 @@ let
}) })
(mkIf (config.flavor == "runbox.com") { (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;
};
}) })
]; ];
}; };