Re: [notmuch] Idea for storing tags
authorCarl Worth <cworth@cworth.org>
Thu, 14 Jan 2010 01:37:51 +0000 (17:37 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:58 +0000 (09:35 -0800)
0a/1e1e90b005c6c25c1e1514b64e167342267ba5 [new file with mode: 0644]

diff --git a/0a/1e1e90b005c6c25c1e1514b64e167342267ba5 b/0a/1e1e90b005c6c25c1e1514b64e167342267ba5
new file mode 100644 (file)
index 0000000..c5b8dfe
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id A73E5431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 13 Jan 2010 17:37:52 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.822\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.822 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1.8, AWL=-0.023, BAYES_50=0.001] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ivSHd7rWAHe2; Wed, 13 Jan 2010 17:37:52 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 07699431FAE;\r
+       Wed, 13 Jan 2010 17:37:52 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id B13FB254090; Wed, 13 Jan 2010 17:37:51 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Scott Morrison <smorr@indev.ca>, mailtags discussion list\r
+       <mailtags@lists.madduck.net>\r
+In-Reply-To: <BF51FFFB-41D1-4105-84AA-43C3FEB8365D@indev.ca>\r
+References: <20100111221909.GA30299@lapse.rw.madduck.net>\r
+       <F3C2A2F4-515E-4919-9163-6958C2FAA2C5@indev.ca>\r
+       <20100113012404.GA570@lapse.rw.madduck.net>\r
+       <BF51FFFB-41D1-4105-84AA-43C3FEB8365D@indev.ca>\r
+Date: Wed, 13 Jan 2010 17:37:51 -0800\r
+Message-ID: <87fx69fouo.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: notmuch discussion list <notmuch@notmuchmail.org>\r
+Subject: Re: [notmuch] Idea for storing tags\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 14 Jan 2010 01:37:52 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, 13 Jan 2010 00:39:14 -0500, Scott Morrison <smorr@indev.ca> wrote:\r
+> > Maybe a better approach would be content addressing (see below).\r
+>=20\r
+> Content hashing -- good Idea (& not something that has hit me before)\r
+> -- better than Message-Id as I believe there are still some MUA /MTAs\r
+> that allow messages without message ids.  The only potential issue\r
+> with this is that it is critical then to preserve the message source\r
+> against encoding changes though that shouldn't be too hard to avoid.\r
+\r
+Another problem with content-based naming for messages is that most of\r
+the messages in my mail store that I consider duplicates don't actually\r
+have identical content. (One is sent directly to me via CC and the other\r
+is sent by the mailing-list software *after* appending a footer to the\r
+message.)\r
+\r
+That said, notmuch already does use a sha-1 sum as the message\r
+identifier for any message that does not have a valid Message-ID\r
+header. So there's definitely a place for this.\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLTnVv6JDdNq8qSWgRAgxEAKCR7kf3N38d3EmMOApkjdJ0Bx2VYgCgjU0P\r
+6YCckJU5Ai6jSL44RVeQtRM=\r
+=ojb5\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r