[PATCH 1/2] cli: S/MIME verification/decryption support
[notmuch-archives.git] / c5 / 3e3215d8814a51c614ca180762420b08f43399
1 Return-Path: <prvs=jrosenthal=7726e989f@jhu.edu>\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 D40C94196F4\r
6         for <notmuch@notmuchmail.org>; Sat, 12 Jun 2010 09:05:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -4.2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 Z3mgAHPIYy-9 for <notmuch@notmuchmail.org>;\r
16         Sat, 12 Jun 2010 09:05:01 -0700 (PDT)\r
17 Received: from ipex2.johnshopkins.edu (ipex2.johnshopkins.edu [162.129.8.151])\r
18         by olra.theworths.org (Postfix) with ESMTP id 3AFD14196F2\r
19         for <notmuch@notmuchmail.org>; Sat, 12 Jun 2010 09:05:01 -0700 (PDT)\r
20 X-IronPort-AV: E=Sophos;i="4.53,408,1272859200"; d="scan'208";a="337597579"\r
21 Received: from c-69-255-36-229.hsd1.md.comcast.net (HELO lucky.home)\r
22         ([69.255.36.229])\r
23         by ipex2.johnshopkins.edu with ESMTP/TLS/AES256-SHA;\r
24         12 Jun 2010 12:05:00 -0400\r
25 Received: from jkr by lucky.home with local (Exim 4.71)\r
26         (envelope-from <jrosenthal@jhu.edu>)\r
27         id 1ONTCO-0001Ax-L9; Sat, 12 Jun 2010 12:04:44 -0400\r
28 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
29 To: Christoph Groth <cwg@falma.de>, notmuch@notmuchmail.org\r
30 Subject: Re: syncing mail by simply syncing the filesystem\r
31 In-Reply-To: <87eigc9rt0.fsf@falma.de>\r
32 References: <87631obu64.fsf@falma.de> <87vd9o5rtj.fsf@rocinante.cs.unb.ca>\r
33         <87y6eke67e.fsf@lucky.home> <87eigc9rt0.fsf@falma.de>\r
34 User-Agent: Notmuch/0.3.1-58-g6607fd6 (http://notmuchmail.org) Emacs/23.2.1\r
35         (i486-pc-linux-gnu)\r
36 Date: Sat, 12 Jun 2010 12:04:44 -0400\r
37 Message-ID: <87sk4sdyoz.fsf@lucky.home>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 12 Jun 2010 16:05:12 -0000\r
53 \r
54 Hi Christoph,\r
55 \r
56 On Sat, 12 Jun 2010 17:47:07 +0200, Christoph Groth <cwg@falma.de> wrote:\r
57 > > notmuch dump > nm_dump\r
58 > > unison\r
59 > > notmuch restore nm_dump\r
60\r
61 > This might actually be the perfect solution, if notmuch is fast enough\r
62 > to dump and restore the tags in a few seconds.\r
63 \r
64 Well, it's a bit slower than that. Restoring will be more in the\r
65 multiples of tens of seconds (though perhaps less if you're using\r
66 searches much more than tags). If you're only doing it once in a while,\r
67 it'll be okay (especially since it'll pale next to the speed of\r
68 unison-ing maildirs), but it could get to be a bit of a pain.\r
69 \r
70 I was thinking about how to cut this down in a previous email exchange\r
71 on the list:\r
72 \r
73 id:87aaru5yi2.fsf@jhu.edu\r
74 \r
75 (http://mid.gmane.org/87aaru5yi2.fsf@jhu.edu)\r
76 \r
77 The key part is that if I think restore (which is what takes more time)\r
78 leaves unmentioned messages as they are, so you can run it on a diff, so\r
79 something like:\r
80 \r
81 nm dump desktop>desktop-dump; nm dump laptop>laptop-dump; \r
82 diff laptop-dump desktop | grep "^>" | etc...\r
83 \r
84 So when you restore, you'd only be restoring the changes, and it would\r
85 drop to a second or two. If you're scripting all the other stuff\r
86 together with unison, this could be part of the script as well.\r
87 \r
88 Anyway, this is all rather raw -- my own use-cases haven't made it\r
89 necessary to do anything more than spout off on the mailing list about\r
90 it.\r
91 \r
92 Best,\r
93 Jesse\r
94 \r
95 \r