From c6aa0a23c75ead577bba6f5fe407e723985c64ff Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Wed, 7 Oct 2020 13:54:20 +0200 Subject: [PATCH] Disable imapnotify for gmail domains --- configurations/mail.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configurations/mail.nix b/configurations/mail.nix index a2ac032c..0f0b443c 100644 --- a/configurations/mail.nix +++ b/configurations/mail.nix @@ -115,6 +115,8 @@ in sent = "[Gmail].Sent Mail"; trash = "[Gmail].Bin"; }; + # IMAPNotify doesn't seem to work for imap.gmail.com. + imapnotify.enable = false; }; }; postbot = makeAccount { @@ -280,7 +282,7 @@ in }; Service = { ExecStart = "${pkgs.vdirsyncer}/bin/vdirsyncer sync"; }; }; - } // lib.listToAttrs (map genNotifyImapPatch [ "jonggroen" "personal" "postbot" "posteo" "webmaster" "work" ]); + } // lib.listToAttrs (map genNotifyImapPatch [ "personal" "postbot" "posteo" "webmaster" "work" ]); timers = { offlineimap = { Unit = { Description = "OfflineIMAP email fetcher"; };