swap inbox and archived tags - again
This commit is contained in:
parent
51df7d24e3
commit
5952693319
7 changed files with 32 additions and 20 deletions
|
@ -1,10 +1,10 @@
|
|||
[SpamFilter]
|
||||
[KnownSpammers]
|
||||
|
||||
[FolderNameFilter]
|
||||
folder_blacklist = Inbox Sent Drafts Trash
|
||||
maildir_separator = /
|
||||
|
||||
[SpamFilter]
|
||||
[KnownSpammers]
|
||||
|
||||
[TagOrContact.1]
|
||||
query = tag:posteo
|
||||
|
||||
|
@ -23,4 +23,9 @@ message = The Unipept alias
|
|||
query = to:unipept@ugent.be
|
||||
tags = +unipept
|
||||
|
||||
[Filter.4]
|
||||
query = tag:dodona and subject:'Onderwijsinstelling aangemaakt voor .*'
|
||||
tags = -new
|
||||
|
||||
[ListMailsFilter]
|
||||
[InboxFilter]
|
||||
|
|
|
@ -2,6 +2,13 @@ from afew.filters.BaseFilter import Filter
|
|||
from afew.FilterRegistry import register_filter
|
||||
|
||||
spammers = """
|
||||
golbalpublication.online
|
||||
all.bg
|
||||
vodokanal.poltava.ua
|
||||
qingteng.xyz
|
||||
guaranten.com
|
||||
remedyonlineoa.info
|
||||
pharm2019-sa.com
|
||||
nsitysim.com
|
||||
onlinepublishers.co
|
||||
ijeert.com
|
||||
|
@ -159,3 +166,4 @@ class KnownSpammers(Filter):
|
|||
|
||||
def handle_message(self, message):
|
||||
self.add_tags(message, 'spam')
|
||||
self.remove_tags(message, 'new')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue