Re: Incorrect parsing of email addresses (MIME with quotes)
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 21 Nov 2011 12:38:57 +0000 (13:38 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:20 +0000 (09:40 -0800)
e6/464f6faced5b783c823c960b7c3f2046afa503 [new file with mode: 0644]

diff --git a/e6/464f6faced5b783c823c960b7c3f2046afa503 b/e6/464f6faced5b783c823c960b7c3f2046afa503
new file mode 100644 (file)
index 0000000..6800c89
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <pre@ulrik.uio.no>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id ED231429E25\r
+       for <notmuch@notmuchmail.org>; Mon, 21 Nov 2011 04:57:11 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Z+WPhXE5v7vY for <notmuch@notmuchmail.org>;\r
+       Mon, 21 Nov 2011 04:57:08 -0800 (PST)\r
+X-Greylist: delayed 1087 seconds by postgrey-1.32 at olra;\r
+       Mon, 21 Nov 2011 04:57:08 PST\r
+Received: from mail-out1.uio.no (mail-out1.uio.no [129.240.10.57])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 33E6A431FD0\r
+       for <notmuch@notmuchmail.org>; Mon, 21 Nov 2011 04:57:08 -0800 (PST)\r
+Received: from mail-mx1.uio.no ([129.240.10.29])\r
+       by mail-out1.uio.no with esmtp (Exim 4.75)\r
+       (envelope-from <pre@ulrik.uio.no>) id 1RST9I-0008U2-7f\r
+       for notmuch@notmuchmail.org; Mon, 21 Nov 2011 13:39:00 +0100\r
+Received: from diskless.uio.no ([129.240.6.26])\r
+       by mail-mx1.uio.no with esmtp  (Exim 4.76)\r
+       (envelope-from <pre@ulrik.uio.no>)\r
+       id 1RST9H-0001ts-Ss; Mon, 21 Nov 2011 13:39:00 +0100\r
+Received: from pre by diskless.uio.no with local (Exim 4.72)\r
+       (envelope-from <pre@ulrik.uio.no>)\r
+       id 1RST9G-0000Uy-EO; Mon, 21 Nov 2011 13:38:58 +0100\r
+From: Petter Reinholdtsen <pere@hungry.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Incorrect parsing of email addresses (MIME with quotes)\r
+In-Reply-To: <4EA58DC6.6090108@fifthhorseman.net>\r
+References: <2flr522zju3.fsf@login2.uio.no>\r
+       <4EA58DC6.6090108@fifthhorseman.net>\r
+User-Agent: Notmuch/0.10~rc2 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-pc-linux-gnu)\r
+Date: Mon, 21 Nov 2011 13:38:57 +0100\r
+Message-ID: <2fl1ut17iqm.fsf@diskless.uio.no>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>\r
+X-UiO-Ratelimit-Test: rcpts/h 6 msgs/h 2 sum rcpts/h 6 sum msgs/h 2 total\r
+       rcpts 17721 max rcpts/h 383 ratelimit 0\r
+X-UiO-Spam-info: not spam, SpamAssassin (score=-7.0, required=5.0,\r
+       autolearn=disabled, RP_MATCHES_RCVD=-2.023,\r
+       UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)\r
+X-UiO-Scanned: 6874B1B202C9334F53D139B9B1E7976F8F7C1E66\r
+X-UiO-SPAM-Test: remote_host: 129.240.6.26 spam_score: -69 maxlevel 80\r
+       minaction 0 bait 0 mail/h: 2 total 1306 max/h 10 blacklist 0\r
+       greylist 0 ratelimit 0\r
+X-Mailman-Approved-At: Tue, 22 Nov 2011 08:49:56 -0800\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 21 Nov 2011 12:57:12 -0000\r
+\r
+\r
+[Daniel Kahn Gillmor]\r
+> http://tools.ietf.org/html/rfc2047#page-8\r
+> \r
+> states quite clearly:\r
+> \r
+>    + An 'encoded-word' MUST NOT appear within a 'quoted-string'.\r
+> \r
+> I'd argue that notmuch is doing the right thing here, and that MUAs that\r
+> wrap encoded words in quotes (or that apply decoding rules within quoted\r
+> strings) are the ones that need fixing.\r
+\r
+Well, feel free to spend time on trying to get the other mail programs\r
+changed.  I do not have the privilege to give that project a priority\r
+myself.\r
+\r
+I just hope the notmuch developers can choose to follow the robustness\r
+principle[1] in this case, and be liberal in what notmuch accept, and\r
+conservative in what notmuch send.  After all, gnus, mutt and pine\r
+handle these from fields.\r
+\r
+ 1 http://en.wikipedia.org/wiki/Robustness_principle\r
+-- \r
+Happy hacking,\r
+Petter Reinholdtsen\r