From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MKDABQwtAWPvAAEAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 20:50:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IGXzBAwtAWNSJgAAG6o9tA (envelope-from ) for ; Sat, 20 Aug 2022 20:50:52 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 81547ED8B for ; Sat, 20 Aug 2022 20:50:51 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E0E365F389; Sat, 20 Aug 2022 18:50:47 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id C1EC75F361 for ; Sat, 20 Aug 2022 18:50:44 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id A8EC55FBC0; Sat, 20 Aug 2022 14:50:43 -0400 (EDT) Received: (nullmailer pid 289641 invoked by uid 1000); Sat, 20 Aug 2022 18:50:32 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: WIP: index text attachments. Date: Sat, 20 Aug 2022 11:50:04 -0700 Message-Id: <20220820185007.289543-1-david@tethera.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Message-ID-Hash: X2ORB2TSZ34LNEBAEXZJEHA4DWPUDCB4 X-Message-ID-Hash: X2ORB2TSZ34LNEBAEXZJEHA4DWPUDCB4 X-MailFrom: bremner@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 CC: jwilk@jwilk.net 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-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661021451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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=2QOSF4JZZ3HlT/tDejeeu0AA9/7CHu6SGixJDIaWa/E=; b=Twm3wFy0lGmPDE5NiiWAZsOqIPN46ynleBg2EPvSIkG61pA9nlJZKsyTesiYT+9qwQbUi/ 0gCBYAFbfXSmQTz/URskyhZ3eA1bKibpD/PwDiLa7raYrPC93wOZV3BW4y5R/Q6UCOIIYb 6AbGHoLnKmGuSYSB9W5zH7hHFKaznppysvf6b6jUItnAG2zBziQkFHw0OOiK056jnfGu2r qehGikhJueEHqUlHpk6CEGh+xHK+a3dXf57X+XOVSibBlJPgG79AOnsGP/vZ8TyOFcR+Uz OJbjmMmslAlI8AmEvjJVFYjehnzrQVx0eXpvR6tiDqLVbi9dhnLtgoJpGk6tow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661021451; a=rsa-sha256; cv=none; b=OKDN+brRRY7IgONHX6dFwFPvY5bGj4Pu/BkxqYA+z9u+nCRyFzRQ2hcoElnufIRz/AbVwd X7whePGjniVfSr+jD7jJnsi1QF/obbeqmelvNTf4Ae4nMGZ5eD7cR9uPhOZCYlL4fwtlJx juMaJrUfW3ROmraxKQiP3VjE7whZQi/E08ukMtM97c5xZOCA57hOIdlldISR6bDJOgRVGT itQtOj4HQnWQ/wZ9Md1t1EF8K+x+nYnzxKmT7lLqRb/P06yZJoWbt8BRlDFse8ewf8qIIz UXSXkEC4tb4jCit1julu5WEWLOVsy1GMwzwQhEB9sqP0Ut+E9o7f5sENooujMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 81547ED8B X-Spam-Score: -1.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: s06Rslb1NVZ8 I'm curious if this really blows up indexing certain text/* mime types. Certainly we had to add special handling for text/html so I'm expecting some stricter set of types to be indexable. For configuration I was thinking a list of regexes, in the style of new.ignore. We still need to have some reasonable idea of default set of attachements types to index.