dotfiles/mail/.config/afew/config
Marty Oehme 85c68fc676
mail: Add local folder and tag alignment
afew will locally add notmuch tags to mails, as well as move them to
specific folders according to the notmuch tags they already contain.

This sets mails residing in the `Dump` folder to be tagged
correspondingly with `dump`.
(imapfilter automatically puts all filtered
adverts and mailing lists into the dump folder beforehand.)

On the other hand, it makes sure that email tagged with `dump` also
resides in the `Dump` folder (if tagged manually with notmuch), and same
thing for `Inbox`.
2020-09-23 17:55:07 +02:00

19 lines
356 B
Text

[SpamFilter]
[KillThreadsFilter]
[ListMailsFilter]
[FolderNameFilter]
folder_explicit_list = Dump
folder_transforms = Dump:dump
maildir_separator = /
[ArchiveSentMailsFilter]
sent_tag=sent
[InboxFilter]
[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