dotfiles/mail/.config/afew/config
Marty Oehme 3c84d6ae1a
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.
2020-09-25 11:25:18 +02:00

24 lines
551 B
Text

# 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]
[FolderNameFilter]
folder_explicit_list = Dump
folder_transforms = Dump:dump
maildir_separator = /
[ArchiveSentMailsFilter]
sent_tag=sent
[InboxFilter]
[InboxDumpingFilter.0]
# moving mode
[MailMover]
folders = Inbox Dump
rename = True
max_age = 15
# rules
Inbox = 'tag:dump':Dump
Dump = 'NOT tag:spam AND NOT tag:dump AND tag:inbox':Inbox