81 lines
1.9 KiB
Plaintext
81 lines
1.9 KiB
Plaintext
[global]
|
|
|
|
[SpamFilter]
|
|
[KillThreadsFilter]
|
|
[ListMailsFilter]
|
|
[MeFilter]
|
|
[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;-unread
|
|
message = jira message
|
|
|
|
# Orgmode
|
|
[Filter.4]
|
|
query = 'to:emacs-orgmode@gnu.org'
|
|
tags = +orgmode;-inbox;-unread
|
|
message = orgmode message
|
|
|
|
# Delete some spam
|
|
[Filter.5]
|
|
query = '\'Office365 Message Center\' via Developers OR from:admin@darntough.com OR from:govdelivery@subscriptions.defense.gov OR from:notifications@facebookmail.com OR from:MPP@em.home.dell.com OR from:info@jaimeharrison.com'
|
|
tags = +spam;-inbox;-unread
|
|
message = spam message
|
|
|
|
# Tag interview emails
|
|
[Filter.6]
|
|
query = 'subject:Interview'
|
|
tags = +interview;-inbox;-unread
|
|
message = personal message
|
|
|
|
# F5bot - not quite spam, but I don't want to see it
|
|
[Filter.8]
|
|
query = 'from:admin@f5bot.com'
|
|
tags = +f5;-inbox;-unread
|
|
message = f5 message
|
|
|
|
# Emacs Conf
|
|
[Filter.9]
|
|
query = 'to:emacsconf-discuss@gnu.org'
|
|
tags = +emacsconf;-inbox
|
|
message = emacsconf message
|
|
|
|
# Github notifications
|
|
[Filter.10]
|
|
query = 'from:notifications@github.com'
|
|
tags = +github;-inbox
|
|
message = github message
|
|
|
|
[MailMover]
|
|
folders = Inbox Junk Archive Sent
|
|
rename = True
|
|
max_age = 45
|
|
Inbox = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash 'tag:sent':Sent
|
|
Archive = 'tag:inbox':Inbox 'tag:deleted':Trash
|
|
Sent = 'tag:inbox':Inbox 'tag:deleted':Trash
|
|
Junk = 'NOT tag:spam AND tag:inbox':Inbox 'NOT tag:spam':Archive
|
|
|
|
# what's still new goes into the inbox
|
|
[InboxFilter]
|