diff options
-rw-r--r-- | lib/email.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/email.nix b/lib/email.nix index 2867a2c..c640120 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -22,10 +22,14 @@ let encryptByDefault = false; }; mbsync = { + enable = true; create = "both"; expunge = "both"; remove = "both"; - extraConfig.channel = { MaxMessages = 1000; }; + extraConfig.channel = { + # MaxMessages = 1000; + Sync = ["All" "Flags"]; + }; }; passwordCommand = "${pkgs.pass}/bin/pass ben@bensima.com"; msmtp.enable = true; @@ -42,7 +46,6 @@ in realName = "Ben Sima"; address = "ben@bensima.com"; userName = "ben@bensima.com"; - mbsync.enable = true; }; "dev@bensima.com" = common // { |