summaryrefslogtreecommitdiff
path: root/dotfiles/Mail
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2015-08-05 12:22:59 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2015-08-10 12:13:21 -0400
commitdf9d3fd9f69dda5246e9ef11b9bea0a49689dad1 (patch)
treec2fa121e9bf9aa90c466ac4a65b4b124d30a0c7e /dotfiles/Mail
parent75bcb731b427afca562b51ff52fcb905e9791a5b (diff)
notmuch: Improve filters for work mail.
Diffstat (limited to 'dotfiles/Mail')
-rwxr-xr-xdotfiles/Mail/.notmuch/hooks/post-new25
1 files 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