[PATCH 4/7] Use notmuch_database_destroy instead of notmuch_database_close
[notmuch-archives.git] / 0a / 1e1e90b005c6c25c1e1514b64e167342267ba5
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A73E5431FBC\r
6         for <notmuch@notmuchmail.org>; Wed, 13 Jan 2010 17:37:52 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.822\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.822 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1.8, AWL=-0.023, BAYES_50=0.001] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id ivSHd7rWAHe2; Wed, 13 Jan 2010 17:37:52 -0800 (PST)\r
16 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
17         by olra.theworths.org (Postfix) with ESMTP id 07699431FAE;\r
18         Wed, 13 Jan 2010 17:37:52 -0800 (PST)\r
19 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
20         id B13FB254090; Wed, 13 Jan 2010 17:37:51 -0800 (PST)\r
21 From: Carl Worth <cworth@cworth.org>\r
22 To: Scott Morrison <smorr@indev.ca>, mailtags discussion list\r
23         <mailtags@lists.madduck.net>\r
24 In-Reply-To: <BF51FFFB-41D1-4105-84AA-43C3FEB8365D@indev.ca>\r
25 References: <20100111221909.GA30299@lapse.rw.madduck.net>\r
26         <F3C2A2F4-515E-4919-9163-6958C2FAA2C5@indev.ca>\r
27         <20100113012404.GA570@lapse.rw.madduck.net>\r
28         <BF51FFFB-41D1-4105-84AA-43C3FEB8365D@indev.ca>\r
29 Date: Wed, 13 Jan 2010 17:37:51 -0800\r
30 Message-ID: <87fx69fouo.fsf@yoom.home.cworth.org>\r
31 MIME-Version: 1.0\r
32 Content-Type: multipart/signed; boundary="=-=-=";\r
33         micalg=pgp-sha1; protocol="application/pgp-signature"\r
34 Cc: notmuch discussion list <notmuch@notmuchmail.org>\r
35 Subject: Re: [notmuch] Idea for storing tags\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Thu, 14 Jan 2010 01:37:52 -0000\r
49 \r
50 --=-=-=\r
51 Content-Transfer-Encoding: quoted-printable\r
52 \r
53 On Wed, 13 Jan 2010 00:39:14 -0500, Scott Morrison <smorr@indev.ca> wrote:\r
54 > > Maybe a better approach would be content addressing (see below).\r
55 >=20\r
56 > Content hashing -- good Idea (& not something that has hit me before)\r
57 > -- better than Message-Id as I believe there are still some MUA /MTAs\r
58 > that allow messages without message ids.  The only potential issue\r
59 > with this is that it is critical then to preserve the message source\r
60 > against encoding changes though that shouldn't be too hard to avoid.\r
61 \r
62 Another problem with content-based naming for messages is that most of\r
63 the messages in my mail store that I consider duplicates don't actually\r
64 have identical content. (One is sent directly to me via CC and the other\r
65 is sent by the mailing-list software *after* appending a footer to the\r
66 message.)\r
67 \r
68 That said, notmuch already does use a sha-1 sum as the message\r
69 identifier for any message that does not have a valid Message-ID\r
70 header. So there's definitely a place for this.\r
71 \r
72 =2DCarl\r
73 \r
74 --=-=-=\r
75 Content-Type: application/pgp-signature\r
76 \r
77 -----BEGIN PGP SIGNATURE-----\r
78 Version: GnuPG v1.4.10 (GNU/Linux)\r
79 \r
80 iD8DBQFLTnVv6JDdNq8qSWgRAgxEAKCR7kf3N38d3EmMOApkjdJ0Bx2VYgCgjU0P\r
81 6YCckJU5Ai6jSL44RVeQtRM=\r
82 =ojb5\r
83 -----END PGP SIGNATURE-----\r
84 --=-=-=--\r