Files
dotfiles/mail/.config/afew/config
2019-11-07 12:20:56 -05:00

42 lines
913 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;+15five;-unread
message = sentry error
# Jira tag as Jira
[Filter.3]
query = 'from:jira@15five-dev.atlassian.net'
tags = +jira;-inbox;+15five
message = jira message
[MailMover]
folders = Inbox Junk
rename = False
max_age = 15
Inbox = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash 'tag:sent':Sent
Junk = 'NOT tag:spam AND tag:inbox':Inbox 'NOT tag:spam':Archive
# what's still new goes into the inbox
[InboxFilter]