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