[PATCH v2 12/14] cli/reply: pass internet address list to munge detect
[notmuch-archives.git] / f4 / 47a10251a53fc2cba4fce16d762f69b1ca35c0
1 Return-Path: <david@tethera.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 arlo.cworth.org (Postfix) with ESMTP id 30A666DE13D2\r
6  for <notmuch@notmuchmail.org>; Sat, 27 Feb 2016 07:55:21 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.035\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.035 tagged_above=-999 required=5\r
12  tests=[AWL=-0.024, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id JLmgaIO0iiXK for <notmuch@notmuchmail.org>;\r
17  Sat, 27 Feb 2016 07:55:19 -0800 (PST)\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 8682D6DE0FFA\r
20  for <notmuch@notmuchmail.org>; Sat, 27 Feb 2016 07:55:19 -0800 (PST)\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1aZhDq-0000HH-0Q; Sat, 27 Feb 2016 10:55:58 -0500\r
24 Received: (nullmailer pid 26789 invoked by uid 1000);\r
25  Sat, 27 Feb 2016 15:55:15 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
28  Notmuch Mail <notmuch@notmuchmail.org>\r
29 Subject: Re: [PATCH v3 11/16] add --try-decrypt to notmuch insert\r
30 In-Reply-To: <1454272801-23623-12-git-send-email-dkg@fifthhorseman.net>\r
31 References: <1454272801-23623-1-git-send-email-dkg@fifthhorseman.net>\r
32  <1454272801-23623-12-git-send-email-dkg@fifthhorseman.net>\r
33 User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1\r
34  (x86_64-pc-linux-gnu)\r
35 Date: Sat, 27 Feb 2016 11:55:15 -0400\r
36 Message-ID: <87vb5a407w.fsf@zancas.localnet>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.20\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43  <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sat, 27 Feb 2016 15:55:21 -0000\r
52 \r
53 Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
54 > +    if (try_decrypt) {\r
55 > +     const char* gpg_path = notmuch_config_get_crypto_gpg_path (config);\r
56 > +     status = notmuch_indexopts_set_gpg_path (indexopts, gpg_path);\r
57 > +     if (status)\r
58 > +         fprintf (stderr, "Warning: failed to set database gpg_path to '%s' (%s)\n",\r
59 > +                  gpg_path ? gpg_path : "(NULL)",\r
60 > +                  notmuch_status_to_string (status));\r
61 > +    }\r
62 \r
63 Should this really be non-fatal event? I agree that the indexing can\r
64 carry on, but are there reasons for this to fail that don't indicate\r
65 something has gone really wrong?\r
66 \r
67 d\r