spam should not be unread; more spammers

This commit is contained in:
Felix Van der Jeugt 2019-06-03 10:21:28 +02:00
parent f63038ff8d
commit aee1cc7a91
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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