use the ugent spam tagger

This commit is contained in:
Felix Van der Jeugt 2017-10-09 10:21:13 +02:00
parent d5c8feba9a
commit c703a6f0df
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 7 additions and 2 deletions

View File

@ -44,6 +44,5 @@ prefer_plaintext = True
[bindings]
P = shellescape --thread True --refocus True notmuch\ new\ --quiet
t = toggletags selected; move down
x = 'toggletags inbox,killed'

View File

@ -3,6 +3,12 @@
# notify for new messages
notmuch search tag:new | cut -d' ' --complement -f1 | xargs -0 --no-run-if-empty notify-send
# finally, put new messages in the inbox
# put new messages in the inbox
notmuch tag +inbox -new -- tag:new
# some filtering
notmuch tag +killed -- subject:'^\[SPAM\]' to:ugent
# remove killed thread from inbox
notmuch tag -inbox -- tag:killed