--- /dev/null
+Return-Path: <bremner@pivot.cs.unb.ca>\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 CB0DD4196F4\r
+ for <notmuch@notmuchmail.org>; Tue, 6 Apr 2010 05:00:57 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.5\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5\r
+ tests=[BAYES_05=-0.5] autolearn=ham\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 iPQnzE98lXQR for <notmuch@notmuchmail.org>;\r
+ Tue, 6 Apr 2010 05:00:57 -0700 (PDT)\r
+Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])\r
+ by olra.theworths.org (Postfix) with ESMTP id F2F7B4196F0\r
+ for <notmuch@notmuchmail.org>; Tue, 6 Apr 2010 05:00:56 -0700 (PDT)\r
+Received: from\r
+ fctnnbsc30w-142167190087.pppoe-dynamic.high-speed.nb.bellaliant.net\r
+ ([142.167.190.87] helo=rocinante.cs.unb.ca)\r
+ by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
+ (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)\r
+ id 1Nz7Sh-0007hi-TP; Tue, 06 Apr 2010 09:00:55 -0300\r
+Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.71)\r
+ (envelope-from <bremner@rocinante.cs.unb.ca>)\r
+ id 1Nz7Sc-0002Aa-Bx; Tue, 06 Apr 2010 09:00:50 -0300\r
+From: David Bremner <bremner@unb.ca>\r
+To: Jason White <jason@jasonjgw.net>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: [notmuch] Message parsing issue?\r
+In-Reply-To: <20100403072540.GA15606@jdc.jasonjgw.net>\r
+References: <20100403072540.GA15606@jdc.jasonjgw.net>\r
+Date: Tue, 06 Apr 2010 09:00:50 -0300\r
+Message-ID: <87fx384wp9.fsf@rocinante.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Sender-Verified: bremner@pivot.cs.unb.ca\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: Tue, 06 Apr 2010 12:00:57 -0000\r
+\r
+On Sat, 3 Apr 2010 18:25:40 +1100, Jason White <jason@jasonjgw.net> wrote:\r
+\r
+> The problem is that for certain messages, notmuch show treats the entire\r
+> message, including, significantly, all of the headers, as the message body.\r
+> \r
+> An example is attached, with "notmuch show" output as the first file and the\r
+> original message as the second.\r
+> \r
+> Suggestions are welcome.\r
+\r
+One thing I noticed was that the message you sent (at least, if I got\r
+the correct attachment), had X-Spam headers _before_ the "From "\r
+line. If I remove those headers then the message displays Ok. It is\r
+probably not worth putting too much effort into that display code since\r
+it is in the process of being completely rewritten. Perhaps an extra\r
+pass through "formail" can format you message headers a bit more nicely?\r
+\r
+David\r