From ffcde0b8ae13d5a488b5cf244b14b5e87d8fe463 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 23 Apr 2019 11:32:02 -0700 Subject: fix email tls settings --- common.nix | 5 ----- email.nix | 11 ++++++++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/common.nix b/common.nix index 11c5d16..818ddb5 100644 --- a/common.nix +++ b/common.nix @@ -35,11 +35,6 @@ in source = ./tmux; target = ".tmux.conf"; }; - # use this because i override tls settings - msmtprc = { - source = ./msmtprc; - target = ".msmtprc"; - }; }; }; diff --git a/email.nix b/email.nix index ff74ff3..54818fc 100644 --- a/email.nix +++ b/email.nix @@ -24,6 +24,10 @@ in smtp = { host = "mail.bsima.me"; port = 587; + tls = { + enable = true; + useStartTls = true; + }; }; gpg = { key = gpgid; @@ -52,6 +56,11 @@ in smtp = { host = "mail.simatime.com"; port = 587; + tls = { + enable = true; + useStartTls = true; + }; + }; mbsync = { enable = true; @@ -123,7 +132,7 @@ in }; msmtp = { - enable = false; + enable = true; }; }; } -- cgit v1.2.3