Marty Oehme
85c68fc676
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`.
19 lines
356 B
Text
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
|