config 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. [global]
  2. [SpamFilter]
  3. [KillThreadsFilter]
  4. [ListMailsFilter]
  5. [MeFilter]
  6. [ArchiveSentMailsFilter]
  7. sent_tag = sent
  8. # add specific tags
  9. [Filter.0]
  10. query = 'subject:alot'
  11. tags = +alot
  12. message = alot mails
  13. [Filter.1]
  14. query = 'to:notmuch@notmuchmail.org AND (subject:emacs OR subject:elisp OR "(defun" OR "(setq" OR PATCH)'
  15. tags = -inbox;-new;+notmuch
  16. message = notmuch emacs stuff
  17. # Sentry errors, skip the inbox, tag as sentry
  18. [Filter.2]
  19. query = 'from:noreply@md.getsentry.com'
  20. tags = +sentry;+15five;-unread
  21. message = sentry error
  22. # Jira tag as Jira
  23. [Filter.3]
  24. query = 'from:jira@15five-dev.atlassian.net'
  25. tags = +jira;-inbox;+15five;-unread
  26. message = jira message
  27. # Orgmode
  28. [Filter.4]
  29. query = 'to:emacs-orgmode@gnu.org'
  30. tags = +orgmode;-inbox;-unread
  31. message = orgmode message
  32. # Delete some spam
  33. [Filter.5]
  34. 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'
  35. tags = +spam;-inbox;-unread
  36. message = spam message
  37. # Tag interview emails
  38. [Filter.6]
  39. query = 'subject:Interview'
  40. tags = +interview;-inbox;-unread
  41. message = personal message
  42. # F5bot - not quite spam, but I don't want to see it
  43. [Filter.8]
  44. query = 'from:admin@f5bot.com'
  45. tags = +f5;-inbox;-unread
  46. message = f5 message
  47. # Emacs Conf
  48. [Filter.9]
  49. query = 'to:emacsconf-discuss@gnu.org'
  50. tags = +emacsconf;-inbox
  51. message = emacsconf message
  52. # Github notifications
  53. [Filter.10]
  54. query = 'from:notifications@github.com'
  55. tags = +github;-inbox
  56. message = github message
  57. [MailMover]
  58. folders = Inbox Junk Archive Sent
  59. rename = True
  60. max_age = 45
  61. Inbox = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash 'tag:sent':Sent
  62. Archive = 'tag:inbox':Inbox 'tag:deleted':Trash
  63. Sent = 'tag:inbox':Inbox 'tag:deleted':Trash
  64. Junk = 'NOT tag:spam AND tag:inbox':Inbox 'NOT tag:spam':Archive
  65. # what's still new goes into the inbox
  66. [InboxFilter]