From 9c5986a37d7d6b29cbce73d9ae0f8a5ee23e34a2 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sat, 5 Apr 2014 20:42:49 +0300 Subject: [PATCH] Re: [PATCH v5 1/2] lib: drop support for single-message mbox files --- 4f/af6cfdd679773269ddd13c4377a52cf9d6b00e | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 4f/af6cfdd679773269ddd13c4377a52cf9d6b00e diff --git a/4f/af6cfdd679773269ddd13c4377a52cf9d6b00e b/4f/af6cfdd679773269ddd13c4377a52cf9d6b00e new file mode 100644 index 000000000..375d79f71 --- /dev/null +++ b/4f/af6cfdd679773269ddd13c4377a52cf9d6b00e @@ -0,0 +1,86 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 4315D431FB6 + for ; Sat, 5 Apr 2014 10:43:04 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id UgKDYp9RlmQ1 for ; + Sat, 5 Apr 2014 10:42:57 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id C377E431FAF + for ; Sat, 5 Apr 2014 10:42:56 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 6FDF1100051 + for ; Sat, 5 Apr 2014 20:42:49 +0300 (EEST) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: Re: [PATCH v5 1/2] lib: drop support for single-message mbox files +In-Reply-To: <87fvlr214y.fsf@maritornes.cs.unb.ca> +References: + <657fe62a36d8f6a0b8464f191c2adc95d00de183.1396214154.git.jani@nikula.org> + <87fvlr214y.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.17+174~gef82849 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 05 Apr 2014 17:43:04 -0000 + +On Sat, Apr 05 2014, David Bremner wrote: + +> Jani Nikula writes: +> +>> We've supported mbox files containing a single message for historical +>> reasons, but the support has been deprecated, with a warning message +>> while indexing, since Notmuch 0.15. Finally drop the support, and +>> consider all mbox files non-email. +> +> series pushed. + + +For now, anyone who wants to check their mail storage whether this have +any effect: + +$ find . -type f | xargs head -1 | grep -B1 '^From ' + +(I got zero results :D on this machine; have to test on another...) + +---- + +Quickly crafted other test: regexp (and head -1) may be incomplete... + +$ find . -type f | xargs head -1 | grep -B1 -v -e '^[a-zA-Z_-]*:' -e '==.*==' -e '^$' + +The first one will find any emails that were found last time but would +not be found (as emails) after e.g. dump-restore-reindex. Second one +would find (some/most?) emails that weren't indexed in the first place... + + +> d + + +Tomi -- 2.26.2