Re: Alternative (raw) message store (i.e. instead of maildir)
authorChristophe-Marie Duquesne <chmd@chmd.fr>
Tue, 14 Aug 2012 18:11:05 +0000 (20:11 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:07 +0000 (09:49 -0800)
b4/0b97cdbe7c304ae9827cc2b95fe7531d54603a [new file with mode: 0644]

diff --git a/b4/0b97cdbe7c304ae9827cc2b95fe7531d54603a b/b4/0b97cdbe7c304ae9827cc2b95fe7531d54603a
new file mode 100644 (file)
index 0000000..ce4172d
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <chm.duquesne@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E0F1A431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 11:11:29 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id iGMEKZ9d13lB for <notmuch@notmuchmail.org>;\r
+       Tue, 14 Aug 2012 11:11:27 -0700 (PDT)\r
+Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com\r
+       [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A83E1431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 11:11:27 -0700 (PDT)\r
+Received: by qaas11 with SMTP id s11so2512135qaa.5\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 11:11:26 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=mime-version:sender:in-reply-to:references:from:date\r
+       :x-google-sender-auth:message-id:subject:to:cc:content-type;\r
+       bh=7HYAlBtkIR3ccyFNau4Bldx6YCTap8UBpAlaBvCYFLw=;\r
+       b=GClmcAGKUGklt6AycF2eEGhXgFy63zv3iggcsm78flMjw9EG/2h83o4sqMfGzrICHT\r
+       JVrubDNIPfnGFpxu38h1nmwo1wf5MePj4xLwfI/hZIypESng1gCuFXPz0AKX2N1UGHXR\r
+       svlDS4MdVC9+itN5RT8F82MfKaC5y3brs3qOgMJFrm5n0j9F9/kefEVLDiQOK6RBB52S\r
+       I83DjKzDpseitSvL44OlOQmkH/2TitwazkmeNwbHxM9BOs0odnJvr5weov/SSe4ZNmY3\r
+       IlqyiimQl49ehrmM0fdTaJKQBdQljgcEhb0oSG2QLIuOzK5+5sOaotd4ejsnfQFNirlC\r
+       iVIA==\r
+Received: by 10.50.182.229 with SMTP id eh5mr13355776igc.38.1344967885616;\r
+       Tue, 14 Aug 2012 11:11:25 -0700 (PDT)\r
+MIME-Version: 1.0\r
+Sender: chm.duquesne@gmail.com\r
+Received: by 10.64.24.9 with HTTP; Tue, 14 Aug 2012 11:11:05 -0700 (PDT)\r
+In-Reply-To:\r
+ <CA+Tk8fwT4Hb3upMoucWUBeP8RMo6hTMi5zkH1HcPC6dhkS60wg@mail.gmail.com>\r
+References:\r
+ <CA+Tk8fwq2thNeKHgfG-EX0hgR7uyqrSce0ZMOhEJBsz1RVtRqg@mail.gmail.com>\r
+       <20120811094635.GY28321@pub.cz.oracle.com>      <874no613ms.fsf@flamingspork.com>\r
+       <20120814160442.GO28321@pub.cz.oracle.com>\r
+       <CA+Tk8fwVwWewTS-AVaaapQpLNU6a698acp-_ZmnktJ5ynRrx1A@mail.gmail.com>\r
+       <20120814165044.GP28321@pub.cz.oracle.com>\r
+       <CA+Tk8fwT4Hb3upMoucWUBeP8RMo6hTMi5zkH1HcPC6dhkS60wg@mail.gmail.com>\r
+From: Christophe-Marie Duquesne <chmd@chmd.fr>\r
+Date: Tue, 14 Aug 2012 20:11:05 +0200\r
+X-Google-Sender-Auth: PR9CzvbxV2WzvReahivhyTA0hCM\r
+Message-ID:\r
+ <CAHLp1YmWtYg+935_MypF6X06FjsNZKCquN8aTEh1r7uUfham3w@mail.gmail.com>\r
+Subject: Re: Alternative (raw) message store (i.e. instead of maildir)\r
+To: Ciprian Dorin Craciun <ciprian.craciun@gmail.com>\r
+Content-Type: text/plain; charset=UTF-8\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 14 Aug 2012 18:11:30 -0000\r
+\r
+On Tue, Aug 14, 2012 at 7:05 PM, Ciprian Dorin Craciun\r
+<ciprian.craciun@gmail.com> wrote:\r
+>     I proposed -- better said queried if possible or at least wanted\r
+> -- to have an internal interface (SPI) that any mail store would have\r
+> to implement in order to be indexed and used by notmuch. I guess the\r
+> interface would be quite lightweight, and would need just the\r
+> following:\r
+>     * open store;\r
+>     * create a cursor iterating through all the emails, yielding only the keys;\r
+>     * read the envelope (as a byte blob) of a particular key; (used\r
+> only for displaying thread lists, etc.;)\r
+>     * read the body (as a byte blob) of a particular key;\r
+>     * maybe create a cursor iterating over all those emails that have\r
+> changed since a particular timestamp;\r
+\r
+Someone wrote a fork of offlineimap to store mail in couchdb [1]. The\r
+same couchdb can be mounted with fuse as a maildir [2] for mutt.\r
+According to the author [3], the fuse interface is read only. Assuming\r
+your proposal was implemented, one could complete this work with an\r
+interface to couchdb for offlineimap and get all the features\r
+previously requested.\r
+\r
+[1]: https://github.com/theodoreb/offlineimap\r
+[2]: https://github.com/theodoreb/couchdb-maildir-fuse\r
+[3]: http://theodoreb.net/resume\r