config 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [global]
  2. [SpamFilter]
  3. [KillThreadsFilter]
  4. [ListMailsFilter]
  5. [ArchiveSentMailsFilter]
  6. sent_tag = sent
  7. # add specific tags
  8. [Filter.0]
  9. query = 'subject:alot'
  10. tags = +alot
  11. message = alot mails
  12. [Filter.1]
  13. query = 'to:notmuch@notmuchmail.org AND (subject:emacs OR subject:elisp OR "(defun" OR "(setq" OR PATCH)'
  14. tags = -inbox;-new;+notmuch
  15. message = notmuch emacs stuff
  16. # Sentry errors, skip the inbox, tag as sentry
  17. [Filter.2]
  18. query = 'from:noreply@md.getsentry.com'
  19. tags = +sentry;+15five;-unread
  20. message = sentry error
  21. # Jira tag as Jira
  22. [Filter.3]
  23. query = 'from:jira@15five-dev.atlassian.net'
  24. tags = +jira;-inbox;+15five
  25. message = jira message
  26. [MailMover]
  27. folders = Inbox Junk
  28. rename = False
  29. max_age = 15
  30. Inbox = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash 'tag:sent':Sent
  31. Junk = 'NOT tag:spam AND tag:inbox':Inbox 'NOT tag:spam':Archive
  32. # what's still new goes into the inbox
  33. [InboxFilter]