config 790 B

1234567891011121314151617181920212223242526272829303132333435
  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;-inbox;+15five
  20. message = sentry error
  21. [MailMover]
  22. folders = Inbox Archive Sent Drafts Trash
  23. rename = False
  24. max_age = 15
  25. Inbox = 'tag:spam':Junk 'NOT tag:inbox':Archive 'tag:deleted':Trash
  26. Junk = 'NOT tag:spam AND tag:inbox':Inbox 'NOT tag:spam':Archive
  27. # what's still new goes into the inbox
  28. [InboxFilter]