mail: Improve inbox display in aerc and notmuch
Added filtering by dump tag *or* folder to afew so that incoming mail should automatically be filed exclusively in inbox or the dump for notmuch. Additionally changed the exception for inbox display from list to dump tags in aerc, so that -- should there be a legitimate mailing list mail, such as gitlab's pipeline reports -- they are still visible in inbox.
This commit is contained in:
parent
94673ea507
commit
3c84d6ae1a
2 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
All=*
|
All=*
|
||||||
Inbox=tag:inbox and not tag:lists
|
Inbox=tag:inbox and not tag:dump
|
||||||
Archive=not tag:inbox and not tag:deleted and not tag:dump
|
Archive=not tag:inbox and not tag:deleted and not tag:dump
|
||||||
Dump=tag:dump and not tag:inbox
|
Dump=tag:dump
|
||||||
Trash=tag:deleted
|
Trash=tag:deleted
|
||||||
Important=tag:flagged
|
Important=tag:flagged
|
||||||
Sent=from:marty.oehme@gmail.com or from:marty.oehme@googlemail.com or from:moehme@ruc.dk or from:mo82rimu@studserv.uni-leipzig.de
|
Sent=from:marty.oehme@gmail.com or from:marty.oehme@googlemail.com or from:moehme@ruc.dk or from:mo82rimu@studserv.uni-leipzig.de
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
[SpamFilter]
|
# filter creation
|
||||||
|
[InboxDumpingFilter(Filter)]
|
||||||
|
query = '(tag:dump or folder:Dump) and (tag:inbox or tag:unread)'
|
||||||
|
tags = -new;-inbox;-unread;+dump
|
||||||
|
message = removing dumped mails from inbox
|
||||||
|
|
||||||
[KillThreadsFilter]
|
[KillThreadsFilter]
|
||||||
[ListMailsFilter]
|
|
||||||
[FolderNameFilter]
|
[FolderNameFilter]
|
||||||
folder_explicit_list = Dump
|
folder_explicit_list = Dump
|
||||||
folder_transforms = Dump:dump
|
folder_transforms = Dump:dump
|
||||||
|
@ -8,12 +12,13 @@ maildir_separator = /
|
||||||
[ArchiveSentMailsFilter]
|
[ArchiveSentMailsFilter]
|
||||||
sent_tag=sent
|
sent_tag=sent
|
||||||
[InboxFilter]
|
[InboxFilter]
|
||||||
|
[InboxDumpingFilter.0]
|
||||||
|
|
||||||
|
# moving mode
|
||||||
[MailMover]
|
[MailMover]
|
||||||
folders = Inbox Dump
|
folders = Inbox Dump
|
||||||
rename = True
|
rename = True
|
||||||
max_age = 15
|
max_age = 15
|
||||||
|
|
||||||
# rules
|
# rules
|
||||||
Inbox = 'tag:dump':Dump
|
Inbox = 'tag:dump':Dump
|
||||||
Dump = 'NOT tag:spam AND NOT tag:dump AND tag:inbox':Inbox
|
Dump = 'NOT tag:spam AND NOT tag:dump AND tag:inbox':Inbox
|
||||||
|
|
Loading…
Reference in a new issue