From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uAKXMNAe3GF6NAAAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 12:56:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IJvuLdAe3GGorwAA9RJhRA (envelope-from ) for ; Mon, 10 Jan 2022 12:56:00 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4F39117096 for ; Mon, 10 Jan 2022 12:56:00 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E4E7F5F735; Mon, 10 Jan 2022 11:55:55 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 46FDB5F731 for ; Mon, 10 Jan 2022 11:55:53 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 335355FC42; Mon, 10 Jan 2022 06:55:52 -0500 (EST) Received: (nullmailer pid 4053316 invoked by uid 1000); Mon, 10 Jan 2022 11:55:50 -0000 From: David Bremner To: Tohiko Looka , notmuch@notmuchmail.org Subject: Re: Indexing and searching for a particular header In-Reply-To: References: Date: Mon, 10 Jan 2022 07:55:50 -0400 Message-ID: <87ee5f24ah.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: XTFVK7UHT77TMEQSQNSHI4IZRYR27EAX X-Message-ID-Hash: XTFVK7UHT77TMEQSQNSHI4IZRYR27EAX X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641815760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=6qY9/agaP4UGYc5sEk7y+hKW5j8Uvbo/7h8fGyuBcWM=; b=CBfFE4pVNo+lEQqzDMuTBWYgOIuFZaLF0tQ7YS0yim1GUn1TYPE+zw5tm4a1S8Nn+1cJ/B /G/c1+s+XUoOE3lBFs1MtHWgkUtWv3/oKfoqSWwj5zEOkbcRry849MxppRk3NUcPGr+FGz CiLAXef+Tbd1UgLg1JYbsSU7tbKcJ0BkWfXlgCkWMQliiOKUdCwFqpiax6OzB42AGAYx1N SYNm35mIKh5L5YsDPL6YMW+q99V40Qk5yLOSEbcHaPf2epCGJ2Vr9laVexfaPsFk95yVcL 71kSbnbhLIlYMQ7BtWRERslt7eeyrQ33VM2vfcJDjsYzKQvxgTNOuf01nsjR3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641815760; a=rsa-sha256; cv=none; b=TnkI0prIKVfdVy/6ddeo1XyfrszMUwYJpbmox0heLl7pYQuQ+zaoOCJT3TIhPxG5zucjzK RCKdVN/5lFBxi7B/qbF0Z6POf9eqF8R36QePOLNPtU8iA2rJ6szzueDs4WZcR3XEA9i1Wd 6sNnFnfh9EnonRrVO1l6DImKOOjGteT5mDjYILlAOD5fuNLBaICYtQi62iyeLb1/qKfWEd +l73PB3JwaOmv5cA9emAOBIoc3SautY/bkyRAGESdzwOdtqiXItbllGOF+Y2ZXY9mKWRT3 1Hm0Z4CdMO/nMFInokGhXu+F6/vwpfGJySE/9pBppJdIWtFZZRGMCSk+2U4/qQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 4F39117096 X-Spam-Score: -2.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: G0fXGG9vSWIk Tohiko Looka writes: > This is a question or a feature request. > > Is there a way to make notmuch add a particular header to the content > of an email, in terms of indexing it and being able to search for text > in that header? > The use case I want to use it for is a header ("X-Note") that I use to > attach a note to an email so that I can search for it later. These > notes and too specific and cannot be easily summed up by keywords. Yes, see index.header in notmuch-config(1) d