From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8LCyBh0qPGM4GwEAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 14:42:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OKGJBh0qPGP99gAAauVa8A (envelope-from ) for ; Tue, 04 Oct 2022 14:42:05 +0200 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 B642A8D14 for ; Tue, 4 Oct 2022 14:42:01 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 82ED05F360; Tue, 4 Oct 2022 12:41:58 +0000 (UTC) X-Greylist: delayed 2242 seconds by postgrey-1.36 at yantan; Tue, 04 Oct 2022 12:41:55 UTC Received: from vuizook.err.no (vuizook.err.no [IPv6:2a02:20c8:2640::2]) by mail.notmuchmail.org (Postfix) with ESMTPS id E543F5F026 for ; Tue, 4 Oct 2022 12:41:55 +0000 (UTC) Received: from [84.212.193.114] (helo=hjemme.reinholdtsen.name) by vuizook.err.no with smtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ofgez-00BgDd-00; Tue, 04 Oct 2022 12:04:32 +0000 Received: (nullmailer pid 22592 invoked by uid 10001); Tue, 04 Oct 2022 12:04:27 -0000 From: Petter Reinholdtsen To: notmuch@notmuchmail.org Subject: Tag notmuch email based on header values? Date: Tue, 04 Oct 2022 14:04:27 +0200 Message-ID: MIME-Version: 1.0 Message-ID-Hash: 4BYXSZCMMSHYCDMIHWBAPJPR3O2WJQAY X-Message-ID-Hash: 4BYXSZCMMSHYCDMIHWBAPJPR3O2WJQAY X-MailFrom: pere@hungry.com 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=1664887325; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=CUWVvd6rhPfWYhS7NfKRuY3SbnL2K9JdR4GI4WDPu0M=; b=q1yz8x+KUFcTnh97ruY5w+31hvbQ7Tu4FPrHdRE4jva+6lBzGWxRcvNG2gFaRGzkVq/WQJ umJMhFDuSOnCNQUW9GTrzcfzouHtqs4VjEEfGtQPRFI9v9kJNJBcQfUwwGD6g1BTqw/m0k ST4bQYJUcLU4U9RsfOTjmJFTinUmNt63luIK8bUiAvbOYLyuSHF/R+CZiZkFzSgZF4XJGy CDTeTxWWgYp1+vood9RpPU91x8LSoojdhcPBYtKgntoP2aPBmgGxHghZ/aXYps73YGLc/E ARbZVMaLC3lpoG+7Fi5sEECMrM3sFMiPgAx0enGa1qd9HTefCBTjwipSSFgmWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664887325; a=rsa-sha256; cv=none; b=l/W8rRqyPB0AC0fceklt+XTtAd0quMc4bPVMzYIkhytKbDtxuVDuiOdURxjGghYVZCTrDK PxMtAtHj4EHkkIm929GFBDIKMIdd3LduvA0b+B7rZQsL/iZGCXey/mqwDsWOshX/0hrq0J av5GunB+eQGjBwqJp1IQnb8jh8ATEOsHN2R8A8wo1BH/C4EBePETBPCHElOj1QXzacyEK2 3Dk8wr6nJYOIFrKz8UIAKDnzSsdpphOkKTrzaEyIUaxxqYA7R/l/ahQRywdlX3kUOhIy1S 71if8aoUu4QO/74V14kyN/M998+lihBA6Jmqf4YkGYZeoaFzs+bcO0rkq+3Kxg== 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: -0.27 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: B642A8D14 X-Spam-Score: -0.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: E1PJdcu9cjiQ I would like to tag all emails with a specific header, but fail to find a way to do this. Is this a missing feature in notmuch? To be specific, I want to filter out emails related to request tracker tickets owned by me at the time of the email. These emails get a simple RFC 822 style header in each email, that look like this: RT-Owner: myusername I tried searching for 'RT-Owner' without any success, and have read the normuch-search-terms(7) dokucmentation trying to find a clue. Is there something obvious I am missing. PS: Please CC me on replies, as I am not subscribed to the list. -- Happy hacking Petter Reinholdtsen