--- /dev/null
+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 B01326DE0AC2\r
+ for <notmuch@notmuchmail.org>; Mon, 8 Feb 2016 13:44:20 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.025\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.025 tagged_above=-999 required=5 tests=[AWL=0.042,\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 UQL_m2leKEnv for <notmuch@notmuchmail.org>;\r
+ Mon, 8 Feb 2016 13:44:18 -0800 (PST)\r
+Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com\r
+ [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id D50A16DE02CE for\r
+ <notmuch@notmuchmail.org>; Mon, 8 Feb 2016 13:44:17 -0800 (PST)\r
+Received: by mail-wm0-f42.google.com with SMTP id c200so35320577wme.0\r
+ for <notmuch@notmuchmail.org>; Mon, 08 Feb 2016 13:44:17 -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=XNZmCDmZdQ90PkKCT9C8Iy4X+sHxU0EAtamrFnSytjY=;\r
+ b=YZY3Vpd79BHjLrRUgxTgbLQzEktaeQfJjrXqYyGtK6gLrTdWb8IzIb0ve0tzpEGVre\r
+ GmAYyLocYzToxS39ltkH/xG+2rWb6RTqR+vodWGeJBOEy2GroIbPacrGi1OCJABkpCKM\r
+ Ztl1iVcwQCtPVOReNUtEiyio8Pds4KTR7qc0aa5mjRVLxatb5t2r3GrFTG0ZstJv6wld\r
+ z81RwD0j2u/jSn8r1IvQcl4aSsS+RAu5ZeVIIoJCDlvV812V/nENk8EEKNRPA6Ll2ume\r
+ Tcrx3MMXzK66pdV4YzsTzo0ZWMegFQPuFWsrMB36qmS+15YsmpNkHTtFPZucvFRRyDGC\r
+ IlTA==\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=XNZmCDmZdQ90PkKCT9C8Iy4X+sHxU0EAtamrFnSytjY=;\r
+ b=Oa403AfmlklACYa+rWUHXFzwltO4Rc/lbFdOcbsNuv0AdTD1wfYnJsxyeLz++LpagA\r
+ ZR/LQ7sRYkDgRjG9KT43Tsjz7grhm1ZizLoD33iqdF7RbUFtAzImqtCC0TQEU78XGfX2\r
+ o2UE3F7bdXs4+c838HMo13vGpp0Jjy+ah2jjNgAlvV0rH/4dHEOJHGjpWCccGu02QihF\r
+ Q50Dqgl+djpdHdeOBudk35mDxLMdrXdiXkypk3vOaFL3NEl6r1LekNtPnjbIRFqS9VGw\r
+ S8fpxuY5QlhN3QRFORlmYf75FOmA/9mshRa1difpgkiICB5OqAF9C5oQURJjOLCodc3k\r
+ j61g==\r
+X-Gm-Message-State:\r
+ AG10YOSW9tVIu2BJfBOyx4Wdu0xZjyi26LB7e6CCPSSSYiWA3M5lcbUQpjlMABLflxiIoA==\r
+X-Received: by 10.194.250.39 with SMTP id yz7mr33565509wjc.92.1454967855903;\r
+ Mon, 08 Feb 2016 13:44:15 -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 x186sm14399398wmg.19.2016.02.08.13.44.14\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Mon, 08 Feb 2016 13:44:14 -0800 (PST)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id d172dd3e;\r
+ Mon, 8 Feb 2016 21:44:13 +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: <874mee7k88.fsf@alice.fifthhorseman.net>\r
+References: <87egdm4ujh.fsf@tesseract.cs.unb.ca>\r
+ <874mee7k88.fsf@alice.fifthhorseman.net>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Mon, 08 Feb 2016 21:44:13 +0000\r
+Message-ID: <m2io1y513m.fsf@heart-of-gold.hh.sledj.net>\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: Mon, 08 Feb 2016 21:44:20 -0000\r
+\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