summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-04-23 11:32:02 -0700
committerBen Sima <ben@bsima.me>2019-04-23 11:32:02 -0700
commitffcde0b8ae13d5a488b5cf244b14b5e87d8fe463 (patch)
tree503000cf8b209b28de37fb94bd191204b328d24a
parent1dd6e6a8e3b79d030dc69e7f0a15bc0bc0889144 (diff)
fix email tls settings
-rw-r--r--common.nix5
-rw-r--r--email.nix11
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;
};
};
}