--- /dev/null
+Return-Path: <Thomas_Schwinge@mentor.com>\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 3E093431FBD\r
+ for <notmuch@notmuchmail.org>; Mon, 24 Jun 2013 02:20:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ 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 MXA+P9tj0aZV for <notmuch@notmuchmail.org>;\r
+ Mon, 24 Jun 2013 02:20:28 -0700 (PDT)\r
+Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131])\r
+ by olra.theworths.org (Postfix) with ESMTP id 46E3D431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 24 Jun 2013 02:20:28 -0700 (PDT)\r
+Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58])\r
+ by relay1.mentorg.com with esmtp \r
+ id 1Ur2wc-0004eJ-O0 from Thomas_Schwinge@mentor.com ;\r
+ Mon, 24 Jun 2013 02:20:18 -0700\r
+Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by\r
+ SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft\r
+ SMTPSVC(6.0.3790.4675); Mon, 24 Jun 2013 02:20:14 -0700\r
+Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by\r
+ SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP\r
+ Server id 14.2.247.3; Mon, 24 Jun 2013 10:20:13 +0100\r
+From: Thomas Schwinge <thomas@codesourcery.com>\r
+To: Justus Winter <4winter@informatik.uni-hamburg.de>, Austin Clements\r
+ <amdragon@MIT.EDU>\r
+Subject: Re: header continuation issue in notmuch frontend/alot/pythons email\r
+ module\r
+In-Reply-To: <20130624085710.31827.41792@thinkbox.jade-hamburg.de>\r
+References: <20130623131145.2526.439@thinkbox.jade-hamburg.de>\r
+ <20130623165938.GA2214@mit.edu>\r
+ <20130624085710.31827.41792@thinkbox.jade-hamburg.de>\r
+User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 24 Jun 2013 11:19:32 +0200\r
+Message-ID: <8738s7kgrf.fsf@schwinge.name>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1;\r
+ protocol="application/pgp-signature"\r
+X-OriginalArrivalTime: 24 Jun 2013 09:20:14.0525 (UTC)\r
+ FILETIME=[08DDF6D0:01CE70BC]\r
+X-Mailman-Approved-At: Mon, 24 Jun 2013 02:50:13 -0700\r
+Cc: notmuch mailing list <notmuch@notmuchmail.org>\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, 24 Jun 2013 09:20:34 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi!\r
+\r
+On Mon, 24 Jun 2013 10:57:10 +0200, Justus Winter <4winter@informatik.uni-h=\r
+amburg.de> wrote:\r
+> Quoting Austin Clements (2013-06-23 18:59:39)\r
+> > Quoth Justus Winter on Jun 23 at 3:11 pm:\r
+> > > I recently had a problem replying to a mail written by Thomas Schwinge\r
+> > > using an oldish notmuch. Not sure if it has been fixed in more recent\r
+\r
+"Oldish", yeah, yeah, I know... (Mumbles someting about long TODO list.)\r
+\r
+> > > versions, but I think notmuch could improve uppon its header\r
+> > > generation (see below). Problematic part of the mail:\r
+> > >=20\r
+> > > ~~~ snip ~~~\r
+> > > [...]\r
+> > > To: someone@example.org, "line\r
+> > > break" <linebreak@example.org>, someoneelse@example.org\r
+> > > User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/2=\r
+3.4.1 (i486-pc-linux-gnu)\r
+> > > [...]\r
+> > > ~~~ snap ~~~\r
+\r
+> > Do you happen to know how the strangely folded "to" header was\r
+> > produced for this message?\r
+\r
+I just entered/copied all the addresses into one long To: line, and then\r
+let message-mode do its thing.\r
+\r
+> No, but Thomas might. Thomas, the problematic message is\r
+> id:877ghpqckb.fsf@kepler.schwinge.homeip.net\r
+\r
+Here is the header from the message as I sent it:\r
+\r
+ To: Samuel Thibault <samuel.thibault@gnu.org>, Justus Winter\r
+ <4winter@informatik.uni-hamburg.de>, fotis.koutoulakis@gmail.com, Ian\r
+ Lance Taylor <iant@google.com>, toscano.pino@tiscali.it, Luis Machado\r
+ <lgustavo@codesourcery.com>, =3D?utf-8?B?6ZmG5bKz?=3D\r
+ <hacklu.newborn@gmail.com>\r
+\r
+And this is what I received from the bug-hurd mailing list:\r
+\r
+ To: Samuel Thibault <samuel.thibault@gnu.org>, Justus Winter\r
+ <4winter@informatik.uni-hamburg.de>, <fotis.koutoulakis@gmail.com>, "I=\r
+an\r
+ Lance Taylor" <iant@google.com>, <toscano.pino@tiscali.it>, Luis Macha=\r
+do\r
+ <lgustavo@codesourcery.com>,\r
+ =3D?utf-8?B?6ZmG5bKz?=3D <hacklu.newborn@gmail.com>\r
+\r
+So the "corruption" (if it is declared as one; I don't have time right\r
+now to follow your RFC interpretation) must have happened after sending\r
+it off -- perhaps my company's Microsoft Exchange server (as Justus\r
+received a direct copy from that one), or even msmtp used as the local\r
+MTA.\r
+\r
+\r
+Gr=C3=BC=C3=9Fe,\r
+ Thomas\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQEcBAEBAgAGBQJRyA8kAAoJENuKOtuXzphJ3e8H/2SOhqjUnh0EqSgERmqwApsb\r
+bb05uBqjkeEPEnBWvlP3lLNDDiLBqo365W4l/UDulVLnBGZpziiVdtnYcwVvnQiB\r
+ttqhrDSTkWb2fnk41j6fda64xP+UJP36NGECPjmLPi+eU8dpaNfeF+41ZEShN2uZ\r
+Bp1wbwMwOxEJwkLdShQPlZ6qMDrX8skCx5vxErdRTBb/ZLHLTJ4wDuMrWXL6IXXk\r
+3Dg+S5VPCtDUL6QHrbp0fgJEtKanDrXn4cp/pMZ98HUuuwdsILiQVMD2OZqDMIiC\r
+UI6m4AG2J8ZNUjgqzpoD3uVRgaBi9ggz4vPVCFaWPraVJBPP8qB6+sznVLX7zrE=\r
+=MWpo\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r