1 Return-Path: <jrollins@finestructure.net>
\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 5F338431FB6
\r
6 for <notmuch@notmuchmail.org>; Thu, 8 Mar 2012 14:05:47 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, 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 28Ly3CMmM71D for <notmuch@notmuchmail.org>;
\r
16 Thu, 8 Mar 2012 14:05:46 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id C90CC431FAE
\r
20 for <notmuch@notmuchmail.org>; Thu, 8 Mar 2012 14:05:46 -0800 (PST)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id 564413280B3;
\r
23 Thu, 8 Mar 2012 14:05:46 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (DHCP-123-180.caltech.edu [131.215.123.180])
\r
26 (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id 9540B2E50D70;
\r
28 Thu, 8 Mar 2012 14:05:42 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 7634E9DE; Thu, 8 Mar 2012 14:05:42 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
33 Subject: Re: [PATCH] mime_node_open: check if the file is in mbox format,
\r
35 In-Reply-To: <1331243295-27324-1-git-send-email-david@tethera.net>
\r
36 References: <87vcme3kf6.fsf@pip.fifthhorseman.net>
\r
37 <1331243295-27324-1-git-send-email-david@tethera.net>
\r
38 User-Agent: Notmuch/0.11.1+266~gadb05cc (http://notmuchmail.org) Emacs/23.3.1
\r
39 (x86_64-pc-linux-gnu)
\r
40 Date: Thu, 08 Mar 2012 14:05:40 -0800
\r
41 Message-ID: <87sjhiaguj.fsf@servo.finestructure.net>
\r
43 Content-Type: multipart/signed; boundary="=-=-=";
\r
44 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
45 Cc: David Bremner <bremner@debian.org>
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Thu, 08 Mar 2012 22:05:47 -0000
\r
61 Content-Transfer-Encoding: quoted-printable
\r
63 On Thu, 8 Mar 2012 17:48:15 -0400, David Bremner <david@tethera.net> wrote:
\r
64 > From: David Bremner <bremner@debian.org>
\r
66 > It seems that it has always been an error to try to parse an mbox
\r
67 > format file with gmime without calling g_mime_parser_set_scan_from.
\r
69 > This change reads the first 5 bytes of the file, and if they are "From ",
\r
70 > declares the file to be an mbox.
\r
73 > This patch seems to fix the problem for me. I don't think the
\r
74 > performance impact should be too bad, but I didn't really test it.
\r
76 As I've stated previously in this thread, I think this behavior is a
\r
77 mistake. This will not result in a proper parsing of an mbox file, and
\r
78 improper or incomplete parsing of mbox files will lead to bad/confusing
\r
81 We should either completely support mbox files or not support them.
\r
82 Partial support is, imho, a recipe for disaster. We don't currently
\r
83 support them, and it would take a lot of extra work to do so completely.
\r
84 I don't see any harm in just telling users to convert their mbox files
\r
85 into proper message files.
\r
90 Content-Type: application/pgp-signature
\r
92 -----BEGIN PGP SIGNATURE-----
\r
93 Version: GnuPG v1.4.11 (GNU/Linux)
\r
95 iQIcBAEBCAAGBQJPWS00AAoJEO00zqvie6q8RXQQALFfsAfosiC6gJkJ1ttN9dPw
\r
96 jGFi7pMPx8iKKBv2L4qvMnsKUc7hyODG7aVvRSKtYkmHN6hvpVqZQkKeaJrg6QL2
\r
97 Nv+2MPhcD8UF4wTmU9gK3NEppmELgJJk4Uu0CkFkpSWUu9c3pfZFoJpOBncIp7Ka
\r
98 skBQd3qr+FayH+cXHfAYekO+nqtFkd6RhOyU4cQSX6FH74a+4/DbV3A5WS5F5Zq/
\r
99 USdS8L5TKs+TD9zp4w8reHmRDLxiEjNe91lOrPyxQ+3E4KIqEZP6Tr2VMP5coKW0
\r
100 ZJUIAgRgAr+LAtBC/d4LRh5IkIM/dpLGWPDmyWI8NEOpuBcjIhHDZLcOgjwnQfVY
\r
101 uV/wq+T4XsyHhNJYEbVF6DSsaKK1m07NFpSPkUu15sB3zwgQ4pYmVIQ7pG9gVL1f
\r
102 2urmepAn6q+hNwK+/qUExCwcwowVuxRvWUoghzzOhfmyBOTnmruNqnSgkAu7cTtT
\r
103 3ruq+XkP0UyorA6rrQFbT107eWF/B1hHT0IYQti+3/cWuN9IvSOMdrl2/SiUXtDM
\r
104 FQcKuNJiUC8PNHIVRDZrA/9e2AJ25u9I6ixr+FO/K/oN/l82A/zrUk8MuUIe72hQ
\r
105 1stVgmLiTsc7Xd9uS5eGKzgiljrTmCx1QVos47kK/u6oWJDgBgWLZOcy+Z7BP3lA
\r
106 p6gSjFECXiw0Vo5d+cmm
\r
108 -----END PGP SIGNATURE-----
\r