From: Ciprian Dorin Craciun Date: Sat, 11 Aug 2012 07:35:52 +0000 (+0300) Subject: Alternative (raw) message store (i.e. instead of maildir) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a0d69dbc46c9b621f2860e48e3a16c77cfff926e;p=notmuch-archives.git Alternative (raw) message store (i.e. instead of maildir) --- diff --git a/9b/801a50004af2e7428fcb3660a58e078070f2be b/9b/801a50004af2e7428fcb3660a58e078070f2be new file mode 100644 index 000000000..db7a444a6 --- /dev/null +++ b/9b/801a50004af2e7428fcb3660a58e078070f2be @@ -0,0 +1,76 @@ +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 CC333431FAF + for ; Sat, 11 Aug 2012 00:35:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 Mu4M7-wVnV8g for ; + Sat, 11 Aug 2012 00:35:55 -0700 (PDT) +Received: from mail-we0-f181.google.com (mail-we0-f181.google.com + [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 46A1D431FAE + for ; Sat, 11 Aug 2012 00:35:55 -0700 (PDT) +Received: by weyt57 with SMTP id t57so1639323wey.26 + for ; Sat, 11 Aug 2012 00:35:52 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:date:message-id:subject:from:to:content-type; + bh=8mvsV1/4tfcGMfKWtvt1EB27/6Kh9XWBn+bQ87CRGnM=; + b=QT0Z7uU7U8MYwwQfVuUHsWzMnq2R/bMvCyy58sprgos81Kz5kD3UVCKm38U+TxSGr5 + 3QyUwww6z8kWUHOCX+RZsjzX8hmmnvCcVpxKUpdYLolUCc1f2fh9xYDDs12QegyoOkKl + yrK2cdkUxTDvxlS2xMf+ITWVhdc0UFbuQnqv1cF+CnBL0A448dAbhYg7mxGMcrBPznBa + LpOgXt5wIT1BqSXREW0a29+lmgDR66Y0SOvp07z998/NeDEYifo5KmF1jokP2rJlXywC + rqXxevkmUKT4W+gJ5FfrqE9OSk/Ff09HxfXmadoPNQwUowCXm6+1U5+Vcxfyrp/+EHfc + 1I/A== +MIME-Version: 1.0 +Received: by 10.216.208.104 with SMTP id p82mr2876898weo.119.1344670552662; + Sat, 11 Aug 2012 00:35:52 -0700 (PDT) +Received: by 10.180.104.196 with HTTP; Sat, 11 Aug 2012 00:35:52 -0700 (PDT) +Date: Sat, 11 Aug 2012 10:35:52 +0300 +Message-ID: + +Subject: Alternative (raw) message store (i.e. instead of maildir) +From: Ciprian Dorin Craciun +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +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, 11 Aug 2012 07:35:56 -0000 + + Hello all! + + My question -- rather a curiosity -- is if one could easily +implement an alternative message store instead of maildir. (I actually +have in mind a KV store like BerkeleyDB, or even a database like +CouchDB...) (I'm not also implying the same for the index, which I'm +aware is based on Xapian, which requires BerkeleyDB, which in turn +needs a local file system.) + + After quickly looking over the code (2 minutes actually) I saw +that currently this is not easily possible without touching a lot of +files... Or am I wrong? + + Better said: is such an abstract email store interface on the +to-do list, or even acceptable to have if someone provides it? + + Thanks, + Ciprian.