From: Jani Nikula Date: Tue, 27 Sep 2016 10:11:37 +0000 (+0300) Subject: faq: how do I search for the list-id: header X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=a366fdfc129df3c1dd54150145559d1a621632dc faq: how do I search for the list-id: header --- diff --git a/faq.mdwn b/faq.mdwn index bb0efaa..1741288 100644 --- a/faq.mdwn +++ b/faq.mdwn @@ -53,3 +53,18 @@ searches. Punctuation is mostly ignored. The boolean prefix searches (see Boolean and Probabilistic Prefixes in the man page), such as tag: or path: searches, need an exact match. + +## How do I search for the `List-Id:` header? + +Currently there is no way to search for `List-Id:`. As a workaround, try using a +`to:` prefix search (which covers both `To:` and `Cc:` headers) on the mailing +list address. + +Limitations in the duplicate message handling are the main reason for not +indexing the `List-Id:` header. If you receive the same message via both the +list and directly (by way of `To:` or `Cc:`), only the first message encountered +will be indexed. Only the message received via the list will have `List-Id:`, +but you would expect a `List-Id:` search to find the message, regardless of the +order in which the duplicates were received. This is a more general problem than +just `List-Id:`, and once this has been resolved, adding `List-Id:` indexing is +trivial.