From 7699ed3fc8a5ff4ba3e2b936c85e7008ed72d508 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 1 Sep 2018 20:01:18 -0500 Subject: [PATCH] email: fix port setting for flavor gmail.com See https://support.google.com/mail/answer/7126229. --- modules/accounts/email.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/accounts/email.nix b/modules/accounts/email.nix index 660f6ad86..a6e265c40 100644 --- a/modules/accounts/email.nix +++ b/modules/accounts/email.nix @@ -269,7 +269,7 @@ let smtp = { host = "smtp.gmail.com"; - port = 587; + port = if config.smtp.tls.useStartTls then 587 else 465; }; })