diff options
-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" |