Files
dotfiles/mail/.config/afew/config
2019-08-23 14:01:41 -04:00

36 lines
805 B
Plaintext

[global]
[SpamFilter]
[KillThreadsFilter]
[ListMailsFilter]
[ArchiveSentMailsFilter]
sent_tag = sent
# add specific tags
[Filter.0]
query = 'subject:alot'
tags = +alot
message = alot mails
[Filter.1]
query = 'to:notmuch@notmuchmail.org AND (subject:emacs OR subject:elisp OR "(defun" OR "(setq" OR PATCH)'
tags = -inbox;-new;+notmuch
message = notmuch emacs stuff
# Sentry errors, skip the inbox, tag as sentry
[Filter.2]
query = 'from:noreply@md.getsentry.com'
tags = +sentry;-inbox;+15five;-inbox -sentry
message = sentry error
[MailMover]
folders = Inbox Archive Sent Drafts Trash
rename = False
max_age = 15
Inbox = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash
Junk = 'NOT tag:spam AND tag:inbox':Inbox 'NOT tag:spam':Archive
# what's still new goes into the inbox
[InboxFilter]