From a829f1fe7dba92bef69e53e7ca0381d811746409 Mon Sep 17 00:00:00 2001 From: Alex Botero-Lowry Date: Thu, 12 Apr 2012 14:23:46 +1700 Subject: [PATCH] Re: idea - (dream?) - tagging based on gmail folders - offlineimap, notmuch or both together? --- df/b131360626876648d6d25a78102c9ed0e3e195 | 113 ++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 df/b131360626876648d6d25a78102c9ed0e3e195 diff --git a/df/b131360626876648d6d25a78102c9ed0e3e195 b/df/b131360626876648d6d25a78102c9ed0e3e195 new file mode 100644 index 000000000..d6efb1451 --- /dev/null +++ b/df/b131360626876648d6d25a78102c9ed0e3e195 @@ -0,0 +1,113 @@ +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 DFD01431FAF + for ; Wed, 11 Apr 2012 14:23:49 -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 jFgr8UIMEtkP for ; + Wed, 11 Apr 2012 14:23:48 -0700 (PDT) +Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com + [209.85.210.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 53914431FAE + for ; Wed, 11 Apr 2012 14:23:48 -0700 (PDT) +Received: by iagk10 with SMTP id k10so2035784iag.26 + for ; Wed, 11 Apr 2012 14:23:46 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type; + bh=XF+DrDPKoTXHb67kmc7tj3vkRm8FqInQKEVIB3aniek=; + b=0oQZkybb+xIqk7ooxptPnygVyXFrWqNjsLvD4mdInZRrtma/SlVYGBqhtpuNaf/nzI + IJERIMHGhEclWHmCxo1qJ16BMVyd0lV7rZ2/+KSr5lCEE/k+Yp5R7LA5yWtRTSaTvAjn + tiISXi59umuHHCEifUNzGCdMnb9SdyabnE6K+Y5rUtRj05qBNrk8jl1VdqXszXPBoHhZ + dAx4g4VpwjHv3jDcTL7xqAD+eARQq7uD3QyZ3JJoM1u6f6q1tVf95T6LbD3YHan9CsPQ + PLOd3qd2M8JHFTcVAMqn0qZRvy+RXBvpALBwfCpkFkWtB/0TFKy1sO0VpscXOb/nBex4 + LE8w== +MIME-Version: 1.0 +Received: by 10.50.185.193 with SMTP id fe1mr10612igc.9.1334179426231; Wed, 11 + Apr 2012 14:23:46 -0700 (PDT) +Received: by 10.42.145.72 with HTTP; Wed, 11 Apr 2012 14:23:46 -0700 (PDT) +In-Reply-To: +References: +Date: Wed, 11 Apr 2012 14:23:46 -0700 +Message-ID: + +Subject: Re: idea - (dream?) - tagging based on gmail folders - offlineimap, + notmuch or both together? +From: Alex Botero-Lowry +To: Rainer M Krug +Content-Type: text/plain; charset=ISO-8859-1 +Cc: notmuch@notmuchmail.org +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: Wed, 11 Apr 2012 21:23:50 -0000 + +I've implemented a bi-directional notmuch/gmail sync. It does a full +sync fine, but doesn't do partial syncs at all, and it's too slow to +run a full sync over and over again. I've started working on it again +recently, trying to speed up the full sync process by adding +multiprocessing. The source is at +http://alexbl.net/~alexbl/imapsync.py (older version but the logic +itself hasn't changed), if you're interested in working on it. + +On Wed, Apr 11, 2012 at 1:06 AM, Rainer M Krug wrote: +> -----BEGIN PGP SIGNED MESSAGE----- +> Hash: SHA1 +> +> Hi +> +> I am dreaming again (necessary from time to time...) +> +> I am using offlineimap and notmuch. With offlineimap I sync the "all mail" folder only and with +> notmuch I do the indexing for searching (my normanl mail client is still thunderbird...). +> +> I thought: When I am syncing "all mail" with offlineimap, all my folder (tags) from gmail are +> gone. To avoid this, I could sync all folders, but that would multiply the amound I need to sync +> and likely cause problems. +> +> But what about notmuch could tag my mails based on the gmail folders / tags? +> +> That would be brilliant. Would this be possible? *Is* it possible? I mean - tags in notmuch and in +> gmail - how to sync them? Or would this be a task for offlineimap? +> +> I just know this would be a brilliant solution for using gmail "locally" and, if on the road, from +> the web interface or smartphone. +> +> Any ideas on how to achieve this? Would this be a task for offlineimap, notmuch or a combination +> of both? +> +> Cheers and thanks for a your work on notmuch, +> +> Rainer +> -----BEGIN PGP SIGNATURE----- +> Version: GnuPG v1.4.11 (GNU/Linux) +> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ +> +> iEYEARECAAYFAk+FO4wACgkQoYgNqgF2egoiBACdHtIBDpOllw0B/jvTEkzEr4wA +> OTcAnjSj3nd3gt4/k21rkKsY6iQEDs09 +> =65Xc +> -----END PGP SIGNATURE----- +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2