summaryrefslogtreecommitdiff
path: root/.notmuch-config
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-04-17 15:30:55 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-04-17 15:44:26 -0700
commit5e4e9422ada1a2c901d77887b9f813f871c322a7 (patch)
treef46947f573e8db3de7709db508fd353b209e73ec /.notmuch-config
parent6e9e8ab368c1cbe12e2ba79195e5694fd745fa84 (diff)
downloaddotfiles-5e4e9422ada1a2c901d77887b9f813f871c322a7.tar.gz
drop ~/.fmail/lists, add new saved queries query:bulk & query:inbox
Diffstat (limited to '.notmuch-config')
-rw-r--r--.notmuch-config10
1 files changed, 10 insertions, 0 deletions
diff --git a/.notmuch-config b/.notmuch-config
index deaa3b8d..6fdfee48 100644
--- a/.notmuch-config
+++ b/.notmuch-config
@@ -95,3 +95,13 @@ synchronize_flags=true
[index]
header.List=List-Id
header.Team=X-Distro-Tracker-Team
+
+[query]
+# These are the base search queries for inboxes vs. non-inboxes. We need the
+# new sexp: modifier in notmuch 0.36 to be able to express "(not (List *))".
+# The other "List:" terms catch some bogus List-Id headers on some automated
+# mail that is in fact addressed directly to me.
+#
+# If this has to become any more complex I might move this file ->athpriv.git.
+bulk=sexp:"(List *)" or from:rss2email@athena.silentflame.com or from:gmi2email@athena.silentflame.com or to:ftpmaster@debian.org or to:ftpmaster@ftp-master.debian.org or to:cron@ftp-master.debian.org
+inbox=(to:spwhitton@spwhitton.name or to:spwhitton@email.arizona.edu or to:"Sean Whitton" or not query:bulk or List:".xt.local>" or List:".list-id.mcsv.net") and not (folder:sent or folder:/^annex/sent-/ or folder:drafts or folder:notes)