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 CE164431FAF
\r
6 for <notmuch@notmuchmail.org>; Sun, 25 Nov 2012 05:27:02 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 8-abMAbAVlim for <notmuch@notmuchmail.org>;
\r
16 Sun, 25 Nov 2012 05:27:02 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id DD48A431FAE
\r
19 for <notmuch@notmuchmail.org>; Sun, 25 Nov 2012 05:27:01 -0800 (PST)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 975801000E5;
\r
22 Sun, 25 Nov 2012 15:26:58 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH 3/3] lib: Reject multi-message mboxes and deprecate
\r
27 In-Reply-To: <1353824161-31717-3-git-send-email-amdragon@mit.edu>
\r
28 References: <1353824161-31717-1-git-send-email-amdragon@mit.edu>
\r
29 <1353824161-31717-3-git-send-email-amdragon@mit.edu>
\r
30 User-Agent: Notmuch/0.14+84~g8a199bf (http://notmuchmail.org) Emacs/24.2.1
\r
31 (x86_64-unknown-linux-gnu)
\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
33 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
34 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
35 Date: Sun, 25 Nov 2012 15:26:58 +0200
\r
36 Message-ID: <m2y5hpu82l.fsf@guru.guru-group.fi>
\r
38 Content-Type: text/plain; charset=utf-8
\r
39 Content-Transfer-Encoding: quoted-printable
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\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: Sun, 25 Nov 2012 13:27:03 -0000
\r
54 On Sun, Nov 25 2012, Austin Clements <amdragon@MIT.EDU> wrote:
\r
56 > Previously, we would treat multi-message mboxes as one giant email,
\r
57 > which, besides the obvious incorrect indexing, often led to
\r
58 > out-of-memory errors for archival mboxes. Now we explicitly reject
\r
59 > multi-message mboxes. For historical reasons, we retain support for
\r
60 > single-message mboxes, but official deprecate this behavior.
\r
63 The series looks good to me -- but I don't know about deprecating
\r
64 single-message mboxes:
\r
66 * If we someday support (read-only?) mbox format, then single-message
\r
67 mboxes are "normal" again.
\r
69 * Some na=C3=AFve mb2md scripts could leave the 'From ' -line intact: for
\r
70 example `formail -bz -s head -3 < $MAIL`(*) can be used to demonstrate th=
\r
73 * Some people may have large collection of single-file messages starting
\r
74 with 'From ' currently indexed. If those are to be re-indexed later
\r
75 without "single-message mbox" support that is somewhat of a burden to
\r
78 (*) my "mb2md" wannabe does gnus-like "$formail" -bz -R 'From ' X-From-Line=
\r
81 (**) Something like the following could be used to mangle "single-file mbox=
\r
83 find . -type f | xargs perl -e 'foreach (@ARGV) { open IO, "+<", $_ or
\r
84 next; sysread IO, $buf, 5; if ($buf eq "From ") { sysseek IO, 0, 0;
\r
85 syswrite IO, "Fro:"; }}'=20
\r
86 This breaks the multi-message mbox nicely... >;)
\r