From a366fdfc129df3c1dd54150145559d1a621632dc Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 27 Sep 2016 13:11:37 +0300 Subject: [PATCH] faq: how do I search for the list-id: header --- faq.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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. -- 2.43.0