diff options
author | Ben Sima <ben@bsima.me> | 2018-07-10 13:58:53 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-07-10 13:58:53 -0700 |
commit | 5f56a873d60a29fef72020e8e1e8ebab8b2e970f (patch) | |
tree | 13c002627f83a1dbd58d536ec9efbc92c6e1707e | |
parent | 486a7d2e64d3872088b7d61b9cd679f667b4d56b (diff) |
Add jobs virtual mailbox
-rwxr-xr-x | mutt/notmuch-hook.sh | 8 | ||||
-rw-r--r-- | muttrc | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh index 436f8e1..3b3580d 100755 --- a/mutt/notmuch-hook.sh +++ b/mutt/notmuch-hook.sh @@ -16,3 +16,11 @@ notmuch tag +newsletters -new -inbox -- \ # tag logwatch emails & remove from inbox notmuch tag +logwatch -new -inbox -- subject:'Logwatch*' + +# tag job-related emails +notmuch tag +jobs -inbox -- \ + from:alist.co or \ + from:angel.co or \ + from:stackoverflow.com or \ + from:stackoverflow.email or \ + subject:job @@ -76,6 +76,7 @@ set nm_default_uri = "notmuch:///home/ben/Mail" virtual-mailboxes "inbox" "notmuch://?query=tag:inbox" virtual-mailboxes "archive" "notmuch://?query=tag:archive" virtual-mailboxes "sent" "notmuch://?query=tag:sent" +virtual-mailboxes "jobs" "notmuch://?query=tag:jobs" macro index S "<vfolder-from-query>" "search mailbox" macro index,pager A "<modify-labels>+archive -unread -inbox\n" "archive message" |