--- /dev/null
+Return-Path: <patricktotzke@gmail.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 ED787429E4B\r
+ for <notmuch@notmuchmail.org>; Sun, 27 Oct 2013 06:24:05 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 iTu456B-bH7K for <notmuch@notmuchmail.org>;\r
+ Sun, 27 Oct 2013 06:24:00 -0700 (PDT)\r
+Received: from mail-we0-f170.google.com (mail-we0-f170.google.com\r
+ [74.125.82.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 064E7431FDC\r
+ for <notmuch@notmuchmail.org>; Sun, 27 Oct 2013 06:23:59 -0700 (PDT)\r
+Received: by mail-we0-f170.google.com with SMTP id u57so5615501wes.1\r
+ for <notmuch@notmuchmail.org>; Sun, 27 Oct 2013 06:23:57 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=content-type:mime-version:content-disposition:from:user-agent:to\r
+ :references:in-reply-to:message-id:subject:date;\r
+ bh=hm9W7pObtnFL31qss8Twn+yiexV0XiyBMnzIkMobsd0=;\r
+ b=dEV4o9w0QEfpeWUueA36Y+NtFfBcCT1nl6UGgfyIO3OXk7Ay4Cg2nUlH+rkyFSBVjN\r
+ Am72EqkZ9rINikZbrPiwAEPsrZTQBjvwyix2xj8XL1vTOa4GFC87ofa81M7Dyng9Q6Qn\r
+ ORdmr5bzj6W03Mbtc6G2V7AXyL8F7Q3/LP7LYDhJnJeX1wDiIT9/dM3gUbxUYisqXm3c\r
+ 5konUZZln9q1A2pM5CgezhtZZhLiUJ5qdFmiZ+pD2ISwOZL2dVaufLRb0KCN3cJqRJjC\r
+ UuwPYaEiztoBzMbkVZXN//MrshBc/eO/0VmGSYErcqlYRePIMyjUCvYqIQewutt6VO1a\r
+ Ok5w==\r
+X-Received: by 10.180.211.71 with SMTP id na7mr5442494wic.5.1382880234949;\r
+ Sun, 27 Oct 2013 06:23:54 -0700 (PDT)\r
+Received: from localhost (cpc14-sgyl28-2-0-cust332.18-2.cable.virginm.net.\r
+ [82.39.85.77]) by mx.google.com with ESMTPSA id\r
+ ft19sm25713258wic.5.2013.10.27.06.23.54 for <multiple recipients>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Sun, 27 Oct 2013 06:23:54 -0700 (PDT)\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+ micalg="pgp-sha1"; boundary="===============2022887196568602547=="\r
+MIME-Version: 1.0\r
+Content-Disposition: inline\r
+From: Patrick Totzke <patricktotzke@gmail.com>\r
+User-Agent: alot/0.3.5+\r
+To: David Bremner <bremner@unb.ca>, tomi.ollila@iki.fi,\r
+ notmuch@notmuchmail.org\r
+References: <1374606929.hand.crafted.4.sendmail@guru.guru-group.fi>\r
+ <87hac23mnb.fsf@zancas.localnet>\r
+In-Reply-To: <87hac23mnb.fsf@zancas.localnet>\r
+Message-ID: <20131027132353.5125.14023@brick>\r
+Subject: Re: How about these: -- CR & NL char in rfc2047-encoded header...\r
+Date: Sun, 27 Oct 2013 13:23:53 +0000\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: Sun, 27 Oct 2013 13:24:06 -0000\r
+\r
+--===============2022887196568602547==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Quoting David Bremner (2013-10-27 12:48:24)\r
+> tomi.ollila@iki.fi writes:\r
+> =\r
+\r
+> > In thread starting from id:08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.c=\r
+om\r
+> > David wondered in id:87y58xv71x.fsf@zancas.localnet what filtering\r
+> > is done by CLI and what by lib.\r
+> >\r
+> > But where should the "problem" presented in the Subject: header should\r
+> > be handled. I did some hacks to emacs client to drop the ^J (newline)\r
+> > characters from Subject: and From: headers but should these be filtered\r
+> > in CLI (or in lib) instead?\r
+> >\r
+> =\r
+\r
+> Eventually we decided this was a front-end isssue. The emacs front-end\r
+> fixed this with commit 0.16-111-ga7964c8\r
+\r
+\r
+I agree that this should be an issue for the MUA.\r
+FYI: alot also normalizes newlines and tabs in subject lines..\r
+https://github.com/pazz/alot/blob/master/alot/db/utils.py#L369\r
+I cannot reproduce the original issue with the escaped UTF8 header not bein=\r
+g interpreted.\r
+This works fine for me in alot.\r
+\r
+Best,\r
+/p\r
+\r
+--===============2022887196568602547==\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: 7bit\r
+Content-Description: signature\r
+Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.20 (GNU/Linux)\r
+\r
+iEYEABECAAYFAlJtE+kACgkQlDQDZ9fWxaqq4ACfXq9YfOQnT5g4U5StYY5xbm/v\r
+vUcAn3BCQrEV5XIzVb4U3eC/78/eljRd\r
+=CHQd\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============2022887196568602547==--\r