Skip to content

Commit

Permalink
Add "onDeletedMail" trigger for goimapnotify
Browse files Browse the repository at this point in the history
  • Loading branch information
tejing1 committed Nov 30, 2024
1 parent 3f83f24 commit ab39cf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeConfigurations/tejing/email/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ let
enable = true;
boxes = [ "Inbox" ];
onNotify = "${pkgs.coreutils}/bin/touch -c -- ${config.accounts.email.maildirBasePath}/${name}/Inbox/new";
# goimapnotify doesn't seem to be perfect at telling the difference between new mail and deleted mail. Just fire on both.
extraConfig.onDeletedMail = "${pkgs.coreutils}/bin/touch -c -- ${config.accounts.email.maildirBasePath}/${name}/Inbox/new";
};
mbsync = {
enable = true;
Expand Down

0 comments on commit ab39cf6

Please sign in to comment.