mail: Add afew automatic tagging

Added hook for afew tagging for local mail.

Mail will now arrive tagged only as 'new' by notmuch.
afew will then tag the mail accordingly as inbox unread when it is
personal mail.

It will additionally filter out anything marked as spam, or e-mail
containing a List-Id header, which will be tagged as 'list' and not
arrive in the inbox. This filters out anything arriving from a mailing
list from the inbox.

Removed the archive tag -- anything not in the inbox, and not marked as
list is instead used as an automatic archive.

Mail sent by myself will be automatically tagged as 'sent' and also not
show up in the mailbox.
This commit is contained in:
Marty Oehme 2020-09-18 12:25:49 +02:00
parent be688572f5
commit 0d00953f30
Signed by: Marty
GPG key ID: B7538B8F50A1C800
6 changed files with 32 additions and 33 deletions

View file

@ -1,4 +1,5 @@
aerc
afew
alacritty
an2linuxserver-git
anki
@ -33,7 +34,6 @@ glances
glow
gnome-keyring
go
gopass
grub
hugo
i3-gaps
@ -78,6 +78,7 @@ ntp
os-prober
pacman-contrib
pandoc-citeproc
pass
pavolume
pdfjs
pia-tools