tag based on file location, simplify tagging order, ignore mbsync files, more spammers
This commit is contained in:
parent
20f299ed36
commit
6f38137503
6 changed files with 48 additions and 24 deletions
|
@ -1,29 +1,30 @@
|
|||
[SpamFilter]
|
||||
[KnownSpammers]
|
||||
[Filter.0]
|
||||
message = SPAM should not go to inbox
|
||||
query = tag:spam
|
||||
tags = -new
|
||||
|
||||
[FolderNameFilter]
|
||||
folder_blacklist = Inbox Sent Drafts Trash
|
||||
maildir_separator = /
|
||||
|
||||
[TagOrContact.1]
|
||||
query = to:felixvdj.*@posteo.be OR to:felix.vanderjeugt.*@posteo.net
|
||||
query = tag:posteo
|
||||
|
||||
[Filter.1]
|
||||
message = Tag messages to my UGent account
|
||||
query = to:felix.vanderjeugt@ugent.be
|
||||
tags = +ugent
|
||||
|
||||
[Filter.2]
|
||||
message = Tag messages to my Zeus account
|
||||
query = to:felixvdj@zeus.ugent.be
|
||||
tags = +zeus
|
||||
|
||||
[Filter.3]
|
||||
[Filter.2]
|
||||
message = The Dodona alias
|
||||
query = to:dodona@ugent.be
|
||||
tags = +dodona
|
||||
|
||||
[Filter.4]
|
||||
[Filter.3]
|
||||
message = The Unipept alias
|
||||
query = to:unipept@ugent.be
|
||||
tags = +unipept
|
||||
|
||||
[ListMailsFilter]
|
||||
|
||||
[Filter.0]
|
||||
message = Add all new messages to the inbox
|
||||
query = tag:new
|
||||
tags = +unread;-new
|
||||
|
|
|
@ -2,6 +2,31 @@ from afew.filters.BaseFilter import Filter
|
|||
from afew.FilterRegistry import register_filter
|
||||
|
||||
spammers = """
|
||||
rediffmail.com
|
||||
msgsu.edu.tr
|
||||
ecco.spgb.email
|
||||
academicaloxy.com
|
||||
sbcglobal.net
|
||||
sharonwinstonw2@gmail.com
|
||||
educagri.fr
|
||||
ac-versailles.fr
|
||||
bioscopegroup.org
|
||||
microbiologyreposit.com
|
||||
ijarcce.com
|
||||
wsztest.com
|
||||
outlookconferences.com
|
||||
cellibc2019.com
|
||||
web.imrj.online
|
||||
sib.caister.com
|
||||
gavin-publishers-group.com
|
||||
paper-longsslim@daum.net
|
||||
c2.aoamj-conferences.email
|
||||
wgc2018-congress.com
|
||||
saumail.sakarya.edu.tr
|
||||
journalinsight.org
|
||||
m.copernicuspublishing.org
|
||||
aripd.combined@gmail.com
|
||||
support.aoam.email
|
||||
hbguirui.net
|
||||
foodcongress2019.com
|
||||
congresssummit.com
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue