Re: [Gaudenz Steinlin] Bug#810784: should match email adress case insensitive when...
authorDavid Edmondson <dme@dme.org>
Tue, 9 Feb 2016 15:36:23 +0000 (15:36 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:02 +0000 (16:21 -0700)
53/b4efca5eefb2f0ac7403d76a9cc6ec081b291b [new file with mode: 0644]

diff --git a/53/b4efca5eefb2f0ac7403d76a9cc6ec081b291b b/53/b4efca5eefb2f0ac7403d76a9cc6ec081b291b
new file mode 100644 (file)
index 0000000..86fce55
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 888386DE0231\r
+ for <notmuch@notmuchmail.org>; Tue,  9 Feb 2016 07:36:31 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.056\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.056 tagged_above=-999 required=5 tests=[AWL=0.011,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652,\r
+ UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id tQdDZNUw4DiH for <notmuch@notmuchmail.org>;\r
+ Tue,  9 Feb 2016 07:36:29 -0800 (PST)\r
+Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com\r
+ [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 4CAE96DE021E for\r
+ <notmuch@notmuchmail.org>; Tue,  9 Feb 2016 07:36:29 -0800 (PST)\r
+Received: by mail-wm0-f52.google.com with SMTP id g62so28615601wme.0\r
+ for <notmuch@notmuchmail.org>; Tue, 09 Feb 2016 07:36:29 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=dme-org.20150623.gappssmtp.com; s=20150623;\r
+ h=to:subject:in-reply-to:references:from:date:message-id:mime-version\r
+ :content-type; bh=Ie2gHwnT8zm9Yc2tnkm5DvOg3xwNJMLkPA9/EYH/gfM=;\r
+ b=YhUYJ9Sm2q+rmP5z7ZlVyhodQXxPCrk/XsyhOcjxEQU+6cC1PLms6XeBnMiQoktUDo\r
+ Ejir05PB8IAZBx4E0HnRqqpNFzjO7Mi6ccpghYIzSOS6Zbakh9S7tV+BNE0Ksz/IgCmI\r
+ wEFQpedbLEInwr2Wk4FlK1XX7oRDse3g9p/xa0/+iF8DQCvMxnDp5R+2MB68Pv60R03q\r
+ buUh0P6xy302bItIGAkrdA0AUGBhjs7og5T5/h/VS8LuSvQZtVl9hkmd7DjdFCBLjgUl\r
+ D5GTKcMta8wyvkF3Wry0Q6PosqSfKlLAS1c4UvZjWItqgs/RrLGklfiNAog/cSIFcAnp\r
+ TE5g==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:to:subject:in-reply-to:references:from:date\r
+ :message-id:mime-version:content-type;\r
+ bh=Ie2gHwnT8zm9Yc2tnkm5DvOg3xwNJMLkPA9/EYH/gfM=;\r
+ b=dNZsrzdV4FkxeEee90/29DhjCK2G2YD1NHG4eNJ2v+8j2eP2lfolHNK31L1mRTplpc\r
+ 424lh2+/OiZYeigLS7ImqQtSL6EoC6n/Jtbio9P2NrKwdYfoGqX2TlxjqQ7MsD+Ig8rD\r
+ bn8HBdt/uYnDWlO55HtCdN/4CjbBwCtCavtEDAPa4DN6V2Af0zCVrz0LA8aat+5+CvZu\r
+ q6DFdWqWc68ws27dLacSovrBIPoEj6/2hM85Pf/yereMD6XuEZh5+FXSuN9mp+AIVG00\r
+ ZzhmfaBy5/9kZ9KFn6MGh+/U5TP9d33rFzGoG+w1yNffaiUuBjxVWWM8+b+JzdlxwlQi\r
+ +chA==\r
+X-Gm-Message-State:\r
+ AG10YOT/N9aLtofwHZusyKfC5fINAcz04Y28BzXQwiggkZkHEv0CsK6pSbW4RhWwBlB7jQ==\r
+X-Received: by 10.28.97.135 with SMTP id v129mr5692813wmb.90.1455032186545;\r
+ Tue, 09 Feb 2016 07:36:26 -0800 (PST)\r
+Received: from disaster-area.hh.sledj.net\r
+ ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+ by smtp.gmail.com with ESMTPSA id m67sm18003955wma.10.2016.02.09.07.36.24\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Tue, 09 Feb 2016 07:36:24 -0800 (PST)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 01530576;\r
+ Tue, 9 Feb 2016 15:36:23 +0000 (UTC)\r
+To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
+ David Bremner <david@tethera.net>, Gaudenz Steinlin <gaudenz@debian.org>,\r
+ notmuch@notmuchmail.org, 810784@bugs.debian.org\r
+Subject: Re: [Gaudenz Steinlin] Bug#810784: should match email adress case\r
+ insensitive when sending encrypted mail\r
+In-Reply-To: <m2a8na4zze.fsf@heart-of-gold.hh.sledj.net>\r
+References: <87egdm4ujh.fsf@tesseract.cs.unb.ca>\r
+ <874mee7k88.fsf@alice.fifthhorseman.net>\r
+ <m2io1y513m.fsf@heart-of-gold.hh.sledj.net>\r
+ <m2a8na4zze.fsf@heart-of-gold.hh.sledj.net>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Tue, 09 Feb 2016 15:36:23 +0000\r
+Message-ID: <m21t8l6glk.fsf@dme.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 09 Feb 2016 15:36:31 -0000\r
+\r
+On Mon, Feb 08 2016, David Edmondson wrote:\r
+> On Mon, Feb 08 2016, David Edmondson wrote:\r
+>> On Fri, Jan 15 2016, Daniel Kahn Gillmor wrote:\r
+>>> So where is the case-insensitive lookup happening?  Is this a bug in\r
+>>> mml-mode, or in notmuch-emacs?\r
+>>\r
+>> It's caused by behaviour in mml2015.el (hence upstream).\r
+>>\r
+>> `mml2015-epg-check-user-id' uses `equal' to compare the recipient from\r
+>> the composition buffer with the addresses from the matching key.\r
+>>\r
+>> The simplest way to get the desired behaviour would be to `downcase'\r
+>> both strings before comparing.\r
+>\r
+> Reported as bug#22603 in emacs.\r
+\r
+Fixed in the emacs-25 branch.\r