notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 6f / 9e1556eed6945e1f7c454a0d2be6c8e494bc7d
1 Return-Path: <jrollins@finestructure.net>\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 B2539431FAF\r
6         for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 09:41:18 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\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 VcyOmQvSR8Dc for <notmuch@notmuchmail.org>;\r
16         Wed, 11 Apr 2012 09:41:17 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 126DE431FAE\r
20         for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 09:41:17 -0700 (PDT)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 5BD6532805C;\r
23         Wed, 11 Apr 2012 09:41:16 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (adsl-76-240-184-246.dsl.irvnca.sbcglobal.net\r
26         [76.240.184.246]) (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id F32D932802D;\r
28         Wed, 11 Apr 2012 09:41:08 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 208D3183; Wed, 11 Apr 2012 09:41:08 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Olivier Berger <olivier.berger@it-sudparis.eu>, notmuch@notmuchmail.org\r
33 Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs\r
34 In-Reply-To: <874nsqe28a.fsf@inf-8657.int-evry.fr>\r
35 References: <874nsqe28a.fsf@inf-8657.int-evry.fr>\r
36 User-Agent: Notmuch/0.12+108~g7bdb40c (http://notmuchmail.org) Emacs/23.4.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Wed, 11 Apr 2012 09:41:05 -0700\r
39 Message-ID: <87vcl6gr1a.fsf@servo.finestructure.net>\r
40 MIME-Version: 1.0\r
41 Content-Type: multipart/signed; boundary="=-=-=";\r
42         micalg=pgp-sha256; protocol="application/pgp-signature"\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Wed, 11 Apr 2012 16:41:18 -0000\r
56 \r
57 --=-=-=\r
58 \r
59 On Wed, Apr 11 2012, Olivier Berger <olivier.berger@it-sudparis.eu> wrote:\r
60 > Is there a way to decrypt multipart/encrypted messages in notmuch-emacs\r
61 \r
62 Hi, Olivier.  Yes, it is possible.\r
63 \r
64 > I can only get a purple "Decryption error" message...\r
65 \r
66 The fact that you're getting this messages means that notmuch is\r
67 attempting to decrypt the message, but there was a decryption problem.\r
68 \r
69 A typical problem is that gpg-agent is not running.  Notmuch uses gnupg\r
70 to decrypt, but it requires that gpg-agent be running to get the\r
71 passphrase from the user.  Do you have gpg-agent running?\r
72 \r
73 > The mail looks like :\r
74 \r
75 The format of the multipart/encrypted looks fine, so I see no problems\r
76 there (assuming the encryption was done properly).\r
77 \r
78 You might also try decrypting the message on the command line, as that\r
79 will take any emacs issues out of the loop:\r
80 \r
81 notmuch show --decrypt id:$msgid\r
82 \r
83 It might help to redirect stdout to /dev/null to make it easier to see\r
84 any gnupg error messages\r
85 \r
86 I hope that helps.  Let us know if you still can't figure it out, or if\r
87 you have other questions.\r
88 \r
89 jamie.\r
90 \r
91 --=-=-=\r
92 Content-Type: application/pgp-signature\r
93 \r
94 -----BEGIN PGP SIGNATURE-----\r
95 Version: GnuPG v1.4.12 (GNU/Linux)\r
96 \r
97 iQIcBAEBCAAGBQJPhbQhAAoJEO00zqvie6q8QxcP/0hgN4UwITZVMJKtwRMT4NJL\r
98 UxJkFQIpBKdyN9m5932cMw8IOMFjj2VzfAJSP8UrUwOpqBItwrG8XqItY3miUj4K\r
99 R5Zm53+zQFZkBg7NsgobB5Ss57weRrB1hfncnYIPE+EPB724I++NRijHP9zS2AAL\r
100 wkBQkiembna/VV9rb4p8OSrBm5LR3ptir6BrUShpWnCOKdxobvZUIApfMvaez40e\r
101 tG2toY1qooYt1UnLx2QUAKEPl3Otey4jJoIhaJhPO23LbWB0gaXYV326y0RWcvBn\r
102 06qjJR1qx5aJkrIcSGiyxy7hP4ezb5pisDEJvZ8IX9KDUBjIOME5IHX+ah3LpcgS\r
103 qbIEKQ8d5LLSHrdsX7VGpszWYv9CEYSCq3FBzcYUytAqZ4PnBUmCRAO+fcrTr/sC\r
104 ZC15TCV3r7pVObVkN+gHoO5Pdd0rWwc4ORuirV4cxw/ahlVFuIP2ZygoWb6JsWSz\r
105 e+4hUMVZ4JMDw2URgNx4n4q0p05/EY80fJ+mqJF3dnLVPqoJcHEZsj3iyngINWRr\r
106 Iy8ksSBfp/RxaW/9ZS1Bqsx6l6u6qBM4LOvoc1w3/ewJo0WLDuPtfusLRl4yjtfi\r
107 EV9U/ST97cHXRZrlWCJC2vYPBLY+nWPX/YBLA87WAXrQqdHX3AVfoSxLsvAuCoQt\r
108 kx4gKvDltNoCoySjZBTc\r
109 =XPqW\r
110 -----END PGP SIGNATURE-----\r
111 --=-=-=--\r