Re: Github?
[notmuch-archives.git] / 08 / 6dfaf3210b209c9f0805eabd28bea755d3cdd6
1 Return-Path: <tomi.ollila@iki.fi>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id CC8EB431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 10 Mar 2012 06:45:42 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id mGSEPqIQCUVz for <notmuch@notmuchmail.org>;\r
16         Sat, 10 Mar 2012 06:45:41 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id A584B431FAE\r
19         for <notmuch@notmuchmail.org>; Sat, 10 Mar 2012 06:45:41 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 5079F68055; Sat, 10 Mar 2012 16:45:39 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH] mime_node_open: skip envelope from lines at the start of\r
25         messages\r
26 In-Reply-To: <1331385931-1610-1-git-send-email-david@tethera.net>\r
27 References: <4F5A2DB1.7040301@fifthhorseman.net>\r
28         <1331385931-1610-1-git-send-email-david@tethera.net>\r
29 User-Agent: Notmuch/0.11.1+288~g4b3af0e (http://notmuchmail.org) Emacs/23.3.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Sat, 10 Mar 2012 16:45:35 +0200\r
35 Message-ID: <m24ntwecq8.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: multipart/signed; boundary="=-=-=";\r
38         micalg=pgp-sha1; protocol="application/pgp-signature"\r
39 Cc: David Bremner <bremner@debian.org>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 10 Mar 2012 14:45:43 -0000\r
53 \r
54 --=-=-=\r
55 Content-Transfer-Encoding: quoted-printable\r
56 \r
57 On Sat, 10 Mar 2012 09:25:31 -0400, David Bremner <david@tethera.net> wrote:\r
58 > From: David Bremner <bremner@debian.org>\r
59 >=20\r
60 > Some MDAs such as procmail (in MH mode), and exim (doing local\r
61 > delivery in some configurations of the appendfile transport) add a\r
62 > line to the front of a message with "From " followed by envelope\r
63 > sender.  Since this is not a proper RFC822 header field, gmime (at\r
64 > least since version 2.6) refuses to parse it, unless in mbox mode.\r
65 >=20\r
66 > This change reads the line of the file, and if they start with\r
67 > "From ", pass the stream to gmime starting from the second line.\r
68 >=20\r
69 > This makes mime_node_open more consistent with (but still stricter\r
70 > than) the permissive behaviour of notmuch_file_get_header\r
71 > (message-file.c), which allows a certain number of "broken_headers".\r
72 >=20\r
73 > We avoid putting gmime into mbox mode in case of side effects; this\r
74 > leaves the situation of mboxes accidentally indexed by notmuch the\r
75 > same as before, namely "undefined behaviour".  Ideally they should at\r
76 > least be warned by notmuch-new.  Although strict rfc822 adherence\r
77 > would be one way to detect mboxes, it doesn't seem to fit with the\r
78 > spirit or code of message-file.c.\r
79 > ---\r
80 > This version fixes a few formatting issues, and one bug (the strncmp).\r
81 \r
82 +1\r
83 \r
84 Tomi\r
85 \r
86 --=-=-=\r
87 Content-Type: application/pgp-signature\r
88 \r
89 -----BEGIN PGP SIGNATURE-----\r
90 Version: GnuPG v1.4.5 (GNU/Linux)\r
91 \r
92 iD8DBQFPW2kToEBNrhe2D3URAl3cAJ9xLPGIjZG+zBHHeDyaNbF8qAw+4QCfQ3ui\r
93 5fdmpqYWIoX8IUpgZkulNqs=\r
94 =pl1k\r
95 -----END PGP SIGNATURE-----\r
96 --=-=-=--\r