spam should not be unread; more spammers
This commit is contained in:
parent
f63038ff8d
commit
aee1cc7a91
@ -1,9 +1,5 @@
|
||||
[SpamFilter]
|
||||
[KnownSpammers]
|
||||
[Filter.0]
|
||||
message = SPAM should not go to inbox
|
||||
query = tag:spam
|
||||
tags = -new
|
||||
|
||||
[FolderNameFilter]
|
||||
folder_blacklist = Inbox Sent Drafts Trash
|
||||
|
@ -2,6 +2,18 @@ from afew.filters.BaseFilter import Filter
|
||||
from afew.FilterRegistry import register_filter
|
||||
|
||||
spammers = """
|
||||
nsitysim.com
|
||||
onlinepublishers.co
|
||||
ijeert.com
|
||||
eonlinepublishers.com
|
||||
journalsres.org
|
||||
gniindia.org
|
||||
molbio2019.com
|
||||
itise.org
|
||||
iacrlrd2019.org
|
||||
hspcorporation.org
|
||||
peerreviewjournal.com
|
||||
2019cmcb.com
|
||||
iarjset.com
|
||||
ibc-congress2019.com
|
||||
drugtech-2018.com
|
||||
|
@ -3,3 +3,4 @@
|
||||
afew --tag --new
|
||||
notmuch search tag:new | cut -d' ' --complement -f1 | xargs -0 --no-run-if-empty notify-send
|
||||
notmuch tag -new +unread -- tag:new
|
||||
notmuch tag -new -unread -- tag:spam
|
||||
|
Loading…
Reference in New Issue
Block a user