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:
parent
41d460284e
commit
1311c30e84
3 changed files with 9 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue