diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-09-01 20:01:18 -0500 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2018-09-02 12:07:30 +0200 |
commit | 7699ed3fc8a5ff4ba3e2b936c85e7008ed72d508 (patch) | |
tree | 9facdda1ba6312fd919ca02577b6edc4126cb965 /modules/accounts/email.nix | |
parent | 5eca556fe78989d17caddc58a58a944bf08558fa (diff) |
email: fix port setting for flavor gmail.com
See https://support.google.com/mail/answer/7126229.
Diffstat (limited to 'modules/accounts/email.nix')
-rw-r--r-- | modules/accounts/email.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/accounts/email.nix b/modules/accounts/email.nix index 660f6ad86c0..a6e265c40c8 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; }; }) |