mail: Fix mail filtering

Fixed correct filtering of inbox stuff in afew (moving archived mails
out of inbox, moving trash into GMail Trash).
This commit is contained in:
Marty Oehme 2020-10-01 09:04:24 +02:00
parent 41d460284e
commit 1311c30e84
Signed by: Marty
GPG key ID: B7538B8F50A1C800
3 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# filter creation
[InboxDumpingFilter(Filter)]
query = '(tag:dump or folder:Dump) and (tag:inbox or tag:unread)'
query = (tag:dump or folder:Dump) and (tag:inbox or tag:unread or tag:new)
tags = -new;-inbox;-unread;+dump
message = removing dumped mails from inbox
@ -11,8 +11,8 @@ folder_transforms = Dump:dump
maildir_separator = /
[ArchiveSentMailsFilter]
sent_tag=sent
[InboxFilter]
[InboxDumpingFilter.0]
[InboxFilter]
# moving mode
[MailMover]
@ -20,5 +20,5 @@ folders = Inbox Dump
rename = True
max_age = 15
# rules
Inbox = 'tag:dump':Dump
Inbox = 'tag:dump':Dump 'NOT tag:inbox AND NOT tag:dump AND NOT tag:spam':'[Google Mail]/All Mail' 'tag:deleted':'[Google Mail]/Trash'
Dump = 'NOT tag:spam AND NOT tag:dump AND tag:inbox':Inbox