Disable imapnotify for gmail domains

This commit is contained in:
Charlotte Van Petegem 2020-10-07 13:54:20 +02:00
parent ecd92d9238
commit c6aa0a23c7
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -115,6 +115,8 @@ in
sent = "[Gmail].Sent Mail"; sent = "[Gmail].Sent Mail";
trash = "[Gmail].Bin"; trash = "[Gmail].Bin";
}; };
# IMAPNotify doesn't seem to work for imap.gmail.com.
imapnotify.enable = false;
}; };
}; };
postbot = makeAccount { postbot = makeAccount {
@ -280,7 +282,7 @@ in
}; };
Service = { ExecStart = "${pkgs.vdirsyncer}/bin/vdirsyncer sync"; }; 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 = { timers = {
offlineimap = { offlineimap = {
Unit = { Description = "OfflineIMAP email fetcher"; }; Unit = { Description = "OfflineIMAP email fetcher"; };