use the ugent spam tagger
This commit is contained in:
parent
d5c8feba9a
commit
c703a6f0df
@ -44,6 +44,5 @@ prefer_plaintext = True
|
|||||||
|
|
||||||
[bindings]
|
[bindings]
|
||||||
|
|
||||||
P = shellescape --thread True --refocus True notmuch\ new\ --quiet
|
|
||||||
t = toggletags selected; move down
|
t = toggletags selected; move down
|
||||||
x = 'toggletags inbox,killed'
|
x = 'toggletags inbox,killed'
|
@ -3,6 +3,12 @@
|
|||||||
# notify for new messages
|
# notify for new messages
|
||||||
notmuch search tag:new | cut -d' ' --complement -f1 | xargs -0 --no-run-if-empty notify-send
|
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
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user