From 6469b5dd163b9b7784a81d42696491f0859d0ea3 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 17 Feb 2019 03:07:45 -0800 Subject: Get connected to simatime.com mailserver --- email.nix | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'email.nix') diff --git a/email.nix b/email.nix index 7add712..f085943 100644 --- a/email.nix +++ b/email.nix @@ -30,9 +30,30 @@ in expunge = "none"; }; notmuch.enable = true; - msmtp.enable = false; + msmtp.enable = true; passwordCommand = "pass bnet/helium/mail/ben"; }; + "ben@simatime.com" = { + realName = "Ben Sima"; + address = "ben@simatime.com"; + userName = "ben@simatime.com"; + imap = { + host = "mail.simatime.com"; + port = 993; + }; + smtp = { + host = "mail.simatime.com"; + port = 587; + }; + mbsync = { + enable = true; + create = "both"; + expunge = "none"; + }; + notmuch.enable = true; + passwordCommand = "pass simatime/mail/ben"; + msmtp.enable = true; + }; }; }; }; @@ -72,7 +93,6 @@ in msmtp = { enable = false; - extraConfig = builtins.readFile ./msmtprc; }; }; } -- cgit v1.2.3