From df9d3fd9f69dda5246e9ef11b9bea0a49689dad1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 5 Aug 2015 12:22:59 -0400 Subject: notmuch: Improve filters for work mail. --- dotfiles/Mail/.notmuch/hooks/post-new | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/dotfiles/Mail/.notmuch/hooks/post-new b/dotfiles/Mail/.notmuch/hooks/post-new index 2ae9753..5cc4ef7 100755 --- a/dotfiles/Mail/.notmuch/hooks/post-new +++ b/dotfiles/Mail/.notmuch/hooks/post-new @@ -7,35 +7,38 @@ notmuch tag -new -- from:davet@gnu.org OR \ from:dthompson@vistahigherlearning.com # Commit notifications -notmuch tag -new +commits -- subject:Office-commits \ +notmuch tag -new -unread +commits -- subject:Office-commits \ OR from:account for gitolite OR to:www-commits@gnu.org # Fencepost updates -notmuch tag -new +fencepost -- from:diffmon@gnu.org +notmuch tag -new -unread +fencepost -- from:diffmon@gnu.org # GNU webmasters -notmuch tag -new +webmasters -- from:webmasters@gnu.org \ +notmuch tag -new -unread +webmasters -- from:webmasters@gnu.org \ OR from:webmasters-comment@gnu.org # FSF sysadmins -notmuch tag -new +fsfsys -- from:sysadmin@gnu.org \ +notmuch tag -new -unread +fsfsys -- from:sysadmin@gnu.org \ OR from:sysadmin-comment@gnu.org # Linode -notmuch tag -new +linode -- from:billing@linode.com +notmuch tag -new -unread +linode -- from:billing@linode.com # Mark spam -notmuch tag -new +spam -- folder:FSF/INBOX.Spam OR folder:WSU/[Gmail].Spam -notmuch tag -new +spam -- from:john.pozzi@comcast.net # Do not feed +notmuch tag -new -unread +spam -- folder:FSF/INBOX.Spam OR folder:WSU/[Gmail].Spam +notmuch tag -new -unread +spam -- from:john.pozzi@comcast.net # Do not feed # Loomio -notmuch tag +loomio -new -- from:notifications@loomio.org +notmuch tag -new -unread +loomio-- from:notifications@loomio.org # VHL notifications -notmuch tag -new +nagios -- from:nagios@sybilmarkley.vhl.dom -notmuch tag -new +airbrake -- from:donotreply@alerts.airbrake.io -notmuch tag -new +semaphore -- from:semaphore+notifications@renderedtext.com \ +notmuch tag -new -unread +nagios -- from:nagios@sybilmarkley.vhl.dom +notmuch tag -new -unread +airbrake -- from:donotreply@alerts.airbrake.io +notmuch tag -new -unread +semaphore -- \ + from:semaphore+notifications@renderedtext.com \ OR from:semaphore@renderedtext.com +notmuch tag -new -unread +newrelic -- from:noreply@newrelic.com +notmuch tag -new -unread +rackspace -- from:support@rackspace.com # Remaining new mail goes to the inbox notmuch tag -new +inbox +unread -- tag:new -- cgit v1.2.3