[mail] Update notmuch and afew configs

This commit is contained in:
2021-04-23 20:26:39 -04:00
parent 3c831b98e8
commit 9eb74b96bf
6 changed files with 38 additions and 50 deletions

View File

@ -2,82 +2,70 @@
[SpamFilter]
[KillThreadsFilter]
[ListMailsFilter]
[MeFilter]
[DMARCReportInspectionFilter]
[FolderNameFilter]
folder_lowercases = true
maildir_separator = /
[ArchiveFilter]
[ArchiveSentMailsFilter]
[InboxFilter]
sent_tag = sent
[InboxFilter]
# add specific tags
[Filter.0]
query = 'to:colin.powell@15five.com'
tags = +15five;+work
message = 15Five message
[Filter.1]
query = 'to:colin@castine.town'
tags = +muni
message = Selectboard message
[Filter.2]
query = 'to:colin@unbl.ink'
tags = +personal
message = Personal message
# Jira tag as Jira
[Filter.3]
[Filter.1]
query = 'from:jira@15five-dev.atlassian.net'
tags = +jira;-inbox
message = Jira message
# Orgmode
[Filter.4]
[Filter.2]
query = 'emacs-orgmode'
tags = -new;-inbox;+orgmode
message = orgmode message
# Delete some spam
[Filter.5]
query = '\'Office365 Message Center\' via Developers OR from:admin@darntough.com OR from:govdelivery@subscriptions.defense.gov OR from:notifications@facebookmai.com OR from:MPP@em.home.dell.com'
[Filter.3]
query = '\'Office365 Message Center\' via Developers OR from:govdelivery@subscriptions.defense.gov OR from:notifications@facebookmai.com OR from:MPP@em.home.dell.com'
tags = -inbox;+spam
message = spam message
# Tag interview emails
[Filter.6]
[Filter.4]
query = 'subject:Interview'
tags = -inbox;+interview
message = personal message
# F5bot - not quite spam, but I don't want to see it
[Filter.8]
query = 'from:admin@f5bot.com'
tags = -inbox;-new;+f5
message = f5 message
# Emacs Conf
[Filter.9]
[Filter.6]
query = 'to:emacsconf-discuss@gnu.org'
tags = -inbox;-new;+emacsconf
message = emacsconf message
# Sentry errors, skip the inbox, tag as sentry
[Filter.10]
query = 'from:noreply@md.getsentry.com'
tags = -inbox;-new;+sentry
message = sentry error
[Filter.11]
[Filter.7]
query = 'from:notifications@github.com'
tags = -inbox;+github
message = Github message
[MailMover]
folders = INBOX Junk Archive Sent
folders = colin@unbl.ink/INBOX colin@unbl.ink/Archive colin@unbl.ink/Trash colin@castine.town/INBOX colin@castine.town/Archive colin@castine.town/Trash
rename = True
max_age = 45
INBOX = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash 'tag:sent':Sent
Archive = 'tag:inbox':INBOX 'tag:deleted':Trash
Sent = 'tag:inbox':INBOX 'tag:deleted':Trash
Junk = 'NOT tag:spam AND tag:inbox':INBOX 'NOT tag:spam':Archive
max_age = 15
colin@unbl.ink/INBOX = 'tag:spam':colin@unbl.ink/Junk 'NOT tag:inbox':colin@unbl.ink/Archive 'tag:trash':colin@unbl.ink/Trash
colin@unbl.ink/Archive = 'tag:inbox':colin@unbl.ink/INBOX 'tag:trash':colin@unbl.ink/Trash
colin@unbl.ink/Trash = 'tag:inbox':colin@unbl.ink/INBOX 'tag:archive':colin@unbl.ink/Archive
colin@castine.town/INBOX = 'tag:spam':colin@castine.town/Junk 'NOT tag:inbox':colin@castine.town/Archive 'tag:trash':colin@castine.town/Trash
colin@castine.town/Archive = 'tag:inbox':colin@castine.town/INBOX 'tag:trash':colin@castine.town/Trash
colin@castine.town/Trash = 'tag:inbox':colin@castine.town/INBOX 'tag:archive':colin@castine.town/Archive
secstate@sdf.org/INBOX = 'tag:spam':secstate@sdf.org/Junk 'NOT tag:inbox':secstate@sdf.org/Archive 'tag:trash':secstate@sdf.org/Trash
secstate@sdf.org/Archive = 'tag:inbox':secstate@sdf.org/INBOX 'tag:trash':secstate@sdf.org/Trash
secstate@sdf.org/Trash = 'tag:inbox':secstate@sdf.org/INBOX 'tag:archive':secstate@sdf.org/Archive