Re: [PATCH v4 16/16] add "notmuch reindex" subcommand
[notmuch-archives.git] / c0 / a26c2a2cdaabd443ad4f75cb677370dc4aedfe
1 Return-Path: <jani@nikula.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 22C2B431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 30 Aug 2014 00:37:53 -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: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 szU4BsqmIMFp for <notmuch@notmuchmail.org>;\r
16         Sat, 30 Aug 2014 00:37:48 -0700 (PDT)\r
17 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com\r
18  [74.125.82.41])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  8E743431FB6    for <notmuch@notmuchmail.org>; Sat, 30 Aug 2014 00:37:48 -0700\r
21  (PDT)\r
22 Received: by mail-wg0-f41.google.com with SMTP id l18so3031607wgh.0\r
23         for <notmuch@notmuchmail.org>; Sat, 30 Aug 2014 00:37:46 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:subject:in-reply-to:references\r
27         :user-agent:date:message-id:mime-version:content-type;\r
28         bh=MNet3gcTnl36g+oeRCo0FQmVoD8Ut7RYLMd/dQsgrwQ=;\r
29         b=jcLnt5wmCo1ZbsGsnjxQQrVdVS4eSjsAGB1Oenprphw9LTJZAY9YM7iWC3oXZbWi1c\r
30         VCDX30xhPlySxo+3MYhlNTwnFA4owabxI0zKO9bKtBTNrdOldyfbmKFqEHt7S4cft9gQ\r
31         NhVW98ix12ha4Y9LZGMTnBBQ5FiWsN52DoNuiafg91IF/j7TM/vT2VDyThnwkqzcrm5T\r
32         qZtPOCnbtXfvHWHlmBfKfByX/EMlyfleMexEp1439RyJnMOpaWauFjxsWX0TPkCggCTu\r
33         tbTNwwL1yMDTqz6EgTEZ4CoxpiSV7jtBTZjoHRDugduux183K3Qou+5bQxZT+23rNYqQ\r
34         xvlQ==\r
35 X-Gm-Message-State:\r
36  ALoCoQky1g6DsF+GAHKZtbyEfKflskGF8oR7w/DRf22rD9xhXYBzpZKi2/ShSWneTCFEiueIOekh\r
37 X-Received: by 10.194.63.205 with SMTP id i13mr18828746wjs.74.1409384265928;\r
38         Sat, 30 Aug 2014 00:37:45 -0700 (PDT)\r
39 Received: from localhost (dsl-hkibrasgw2-58c374-75.dhcp.inet.fi.\r
40         [88.195.116.75])\r
41         by mx.google.com with ESMTPSA id dh7sm3258459wib.18.2014.08.30.00.37.44\r
42         for <multiple recipients>\r
43         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
44         Sat, 30 Aug 2014 00:37:45 -0700 (PDT)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
47 Subject: Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode=\r
48         to      invalid value sends unencrypted mail\r
49 In-Reply-To: <87lhq7npcw.fsf@maritornes.cs.unb.ca>\r
50 References: <87lhq7npcw.fsf@maritornes.cs.unb.ca>\r
51 User-Agent: Notmuch/0.18.1+65~g9f0f30f (http://notmuchmail.org) Emacs/24.3.1\r
52         (x86_64-pc-linux-gnu)\r
53 Date: Sat, 30 Aug 2014 10:37:43 +0300\r
54 Message-ID: <87k35q2zso.fsf@nikula.org>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Sat, 30 Aug 2014 07:37:53 -0000\r
70 \r
71 On Thu, 28 Aug 2014, Vagrant Cascadian <vagrant@debian.org> wrote:\r
72 > When sending mail from notmuch-emacs interface, I usually use pgpmine\r
73 > signatures, but sometimes I want to send a signed encrypted message, so\r
74 > I manually edit the mode=sign to mode=signencrypt ... but if I make a\r
75 > typo, i.e. mode=signinvalidencrypt, notmuch happily and without warning\r
76 > sends the mail unencrypted.\r
77\r
78 > i.e. #secure method=pgpmime mode=signinvalidencrypt will end up\r
79 > sending an encrypted message (with the <>, of course).\r
80\r
81 > It seems like it should error out if the mode= is set to an invalid or\r
82 > unknown value, rather than sending mail in the clear.\r
83\r
84 > I've got this set up in ~/.emacs, not sure what all else might be coming\r
85 > into play:\r
86\r
87 >  '(message-setup-hook (quote (mml-secure-message-sign)))\r
88 >  '(notmuch-crypto-process-mime t)\r
89 \r
90 I'm inclined to think this is a bug in message-mode. But we should\r
91 probably try to see what we could do to mitigate this.\r
92 \r
93 As a workaround of sorts, I'd suggest not messing with the #secure tag\r
94 manually. Instead, you can use mml-secure-message-sign and\r
95 mml-secure-message-sign-encrypt to change the mode.\r
96 \r
97 BR,\r
98 Jani.\r