about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/messaging/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix
index b0ccf67..99f71b2 100644
--- a/home/profiles/messaging/default.nix
+++ b/home/profiles/messaging/default.nix
@@ -35,11 +35,18 @@ in
         };
 
         imap.host = "imap.migadu.com";
+        imap.tls.enable = true;
         smtp.host = "smtp.migadu.com";
+        smtp.tls.enable = true;
 
         mbsync = {
           enable = true;
           create = "maildir";
+          remove = "none";
+          expunge = "both";
+
+          extraConfig.account.SSLType = "IMAPS";
+          extraConfig.account.SSLVersions = "TLSv1.2";
         };
 
         msmtp.enable = true;