#!/bin/sh # Mail that I sent doesn't need to be put in the inbox notmuch tag -new -- from:davet@gnu.org OR \ from:davet@fsf.org OR \ from:dthompson2@worcester.edu OR \ from:dthompson@vistahigherlearning.com # Commit notifications notmuch tag -new -unread +commits -- subject:Office-commits \ OR from:account for gitolite OR to:www-commits@gnu.org # Fencepost updates notmuch tag -new -unread +fencepost -- from:diffmon@gnu.org # GNU webmasters notmuch tag -new -unread +webmasters -- from:webmasters@gnu.org \ OR from:webmasters-comment@gnu.org # FSF sysadmins notmuch tag -new -unread +fsfsys -- from:sysadmin@gnu.org \ OR from:sysadmin-comment@gnu.org # Linode notmuch tag -new -unread +linode -- from:billing@linode.com # Mark spam 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 -new -unread +loomio-- from:notifications@loomio.org # VHL notifications notmuch tag -new -unread +nagios -- from:nagios@sybilmarkley.vhl.dom OR \ from:nagios@nagios_rs.localdomain OR nagios@nagios-aws.localdomain 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 notmuch tag -new -unread +vividcortex -- from:notifications@vividcortex.com notmuch tag -new -unread +aws -- from:no-reply@sns.amazonaws.com notmuch tag -new -unread +papertrail -- from:support@papertrailapp.com notmuch tag -new -unread +codeclimate -- from:hello@codeclimate.com notmuch tag -new -unread +basecamp -- from:notifications@basecamp.comn notmuch tag -new -unread +rollbar -- from:notifier@mail.rollbar.com # Remaining new mail goes to the inbox notmuch tag -new +inbox -- tag:new AND NOT tag:unread notmuch tag -new +inbox +unread -- tag:new # GNU mailing lists notmuch tag -inbox +guix -- to:guix-devel@gnu.org OR to:bug-guix@gnu.org notmuch tag -inbox +guile -- to:guile-devel@gnu.org OR to:guile-user@gnu.org # Mark all archived mail notmuch tag +archive -- folder:WSU/Archive # Remove inbox tag from all mail in archive notmuch tag -inbox -- tag:archive AND tag:inbox