From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id EBDC6431FB5 for ; Sat, 29 Jan 2011 04:38:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.299 X-Spam-Level: X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[MSGID_FROM_MTA_HEADER=0.001, 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 9Z5vCNT8fCZM for ; Sat, 29 Jan 2011 04:38:00 -0800 (PST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by olra.theworths.org (Postfix) with ESMTP id B469A431FB6 for ; Sat, 29 Jan 2011 04:38:00 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 29 Jan 2011 04:37:59 -0800 Message-Id: <0d30dc$ktd0ab@orsmga001.jf.intel.com> X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,396,1291622400"; d="scan'208";a="701923659" Received: from unknown (HELO cwilso3-mobl.ger.corp.intel.com) ([10.255.16.161]) by orsmga001.jf.intel.com with SMTP; 29 Jan 2011 04:37:56 -0800 Received: by cwilso3-mobl.ger.corp.intel.com (sSMTP sendmail emulation); Sat, 29 Jan 2011 12:37:55 +0000 Date: Sat, 29 Jan 2011 12:37:55 +0000 To: Jake Edge , Carl Worth Subject: Re: [PATCH] Add a few tests for searching LWN emails. References: <1296124309-20072-1-git-send-email-thomas@schwinge.name> <87vd18n6j9.fsf@yoom.home.cworth.org> <20110128151754.57a98fa8@chukar> From: Chris Wilson In-Reply-To: <20110128151754.57a98fa8@chukar> Cc: lwn@lwn.net, notmuch@notmuchmail.org, Thomas Schwinge 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: Sat, 29 Jan 2011 12:38:02 -0000 On Fri, 28 Jan 2011 15:17:54 -0700, Jake Edge wrote: > Hi Carl and Thomas, > > On Sat, 29 Jan 2011 05:59:38 +1000 Carl Worth wrote: > > > Yes, I believe this is related to the dot in the name. From my > > recollection a name with an address requires quoting. So the header > > that is currently formatted as: > > > > From: LWN.net Weekly Notification > > > > should instead be: > > > > From: "LWN.net Weekly Notification" > > I am by no means an expert, but http://www.ietf.org/rfc/rfc2821.txt > would seem to indicate that names with a '.' in them don't need to be > quoted as there are several lines in the Scenarios section that look > like: > > C: From: John Q. Public > > unless the problem is XXX.yyy (i.e. no spaces on either side of the > '.'), but that seems like a pretty arbitrary differentiator (i.e. 'Q. ' > is fine, but 'LWN.net' isn't) The syntax is defined in http://www.faqs.org/rfcs/rfc2822.html in particular section 3.2.4. From that it appears the unquoted use of [a-Z][.a-Z]* is valid. However, I shall leave the intricacies to those whose understand and appreciate the whole problem... -Chris -- Chris Wilson, Intel Open Source Technology Centre