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 52301429E2E for ; Tue, 22 Nov 2011 18:56:35 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 r1VumyNZJ8AM for ; Tue, 22 Nov 2011 18:56:34 -0800 (PST) Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU [18.7.68.34]) by olra.theworths.org (Postfix) with ESMTP id 91192431FB6 for ; Tue, 22 Nov 2011 18:56:34 -0800 (PST) X-AuditID: 12074422-b7ff56d00000092f-94-4ecc60e23e39 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id 08.ED.02351.2E06CCE4; Tue, 22 Nov 2011 21:56:34 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id pAN2uXxT030687; Tue, 22 Nov 2011 21:56:33 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id pAN2uWGH004151 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 22 Nov 2011 21:56:33 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1RT32z-0006tB-76; Tue, 22 Nov 2011 21:58:53 -0500 Date: Tue, 22 Nov 2011 21:58:53 -0500 From: Austin Clements To: David Bremner Subject: Re: Incorrect parsing of email addresses (MIME with quotes) Message-ID: <20111123025852.GJ9351@mit.edu> References: <2flr522zju3.fsf@login2.uio.no> <4EA58DC6.6090108@fifthhorseman.net> <2fl1ut17iqm.fsf@diskless.uio.no> <87y5v7spk5.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y5v7spk5.fsf@zancas.localnet> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnleLIzCtJLcpLzFFi42IRYrdT132UcMbP4NgBVosbrd2MFtdvzmS2 2Hl1AqMDs0fn0r2sHs9W3WL22HLoPXMAcxSXTUpqTmZZapG+XQJXxvOXKxgLpnNWtPRvYm5g 3MbexcjJISFgInHo5GtmCFtM4sK99WxdjFwcQgL7GCWmTprFDuFsYJS4ueg5VOYkk8TbF9+g MksYJZa+6wObxSKgKrFz12NGEJtNQENi2/7lYLYIUPzqtslsIDazgJPE2j+drCC2sICLxJev 7SwgNq+AtsTVry+YIIbOZJQ4N2E5M0RCUOLkzCcsEM1aEjf+vQQq4gCypSWW/+MACXMK6Ers nNvPBGKLCqhITDm5jW0Co9AsJN2zkHTPQuhewMi8ilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdU LzezRC81pXQTIzjcXZR2MP48qHSIUYCDUYmHN+rkaT8h1sSy4srcQ4ySHExKory748/4CfEl 5adUZiQWZ8QXleakFh9ilOBgVhLhveYOlONNSaysSi3Kh0lJc7AoifNy7XTwExJITyxJzU5N LUgtgsnKcHAoSfBOBRkqWJSanlqRlplTgpBm4uAEGc4DNLwOpIa3uCAxtzgzHSJ/ilFRSpx3 M0hCACSRUZoH1wtLR68YxYFeEeZtBqniAaYyuO5XQIOZgAZPW3sCZHBJIkJKqoHRYe+CUv8b y2LqF7DwXHf+lS6zaQdXSu80dXWlOO8Hh+RLRB40Cyxh81WV8mrkNu3++0Rb0ON4Z7ee9fM4 Kx+5DWeyPtuuucXv1++/8v2mCRvsU5WDOwVUtgvyByZtajmVG9D7I06vTuTkPO1Vouxbvts1 nfQ2/VPoeFUs6tG5lgn+63207yuxFGckGmoxFxUnAgDHbip4IgMAAA== Cc: notmuch@notmuchmail.org, Petter Reinholdtsen 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: Wed, 23 Nov 2011 02:56:35 -0000 Quoth David Bremner on Nov 22 at 7:30 pm: > On Mon, 21 Nov 2011 13:38:57 +0100, Petter Reinholdtsen wrote: > > 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. > > It's a nice stick to beat people with, but I'm not sure it's directly > applicable here. Notmuch is accepting the input, it just isn't > displaying it the way you want. I guess if somebody has some patches for > "sloppy header parsing", we can weigh the pros and cons then. > > If someone wants to follow up on this, we are currently using > > http://spruce.sourceforge.net/gmime/doc/gmime-gmime-utils.html#g-mime-utils-header-decode-text > > There is some discussion there about dealing with bad inputs; I don't > know if it is directly relevant. Based on http://comments.gmane.org/gmane.mail.mime.gmime.devel/65 I thought gmime was supposed to be dealing with broken RFC 2047 encoding now. Am I misinterpreting it? Maybe a bug needs to be filed against gmime?