swap inbox and archived tags - again

This commit is contained in:
Felix Van der Jeugt 2019-06-27 11:07:20 +02:00
parent 51df7d24e3
commit 5952693319
No known key found for this signature in database
GPG key ID: 58B209295023754D
7 changed files with 32 additions and 20 deletions

View file

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

View file

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