From: Rainer M Krug Date: Thu, 12 Apr 2012 08:05:16 +0000 (+0200) Subject: Re: idea - (dream?) - tagging based on gmail folders - offlineimap, notmuch or both... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2285711c82af9d2b8bdf7348433f540ef094a744;p=notmuch-archives.git Re: idea - (dream?) - tagging based on gmail folders - offlineimap, notmuch or both together? --- diff --git a/6e/006b2acf9601e7324266cc34edc9e395bd318e b/6e/006b2acf9601e7324266cc34edc9e395bd318e new file mode 100644 index 000000000..43ba606fa --- /dev/null +++ b/6e/006b2acf9601e7324266cc34edc9e395bd318e @@ -0,0 +1,138 @@ +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 95EE6431FAF + for ; Thu, 12 Apr 2012 01:05:30 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.202 +X-Spam-Level: * +X-Spam-Status: No, score=1.202 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2] 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 f9tuhffDh84A for ; + Thu, 12 Apr 2012 01:05:30 -0700 (PDT) +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id D634F431FAE + for ; Thu, 12 Apr 2012 01:05:29 -0700 (PDT) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1SIF20-0001aN-6w + for notmuch@notmuchmail.org; Thu, 12 Apr 2012 10:05:28 +0200 +Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) + by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Thu, 12 Apr 2012 10:05:28 +0200 +Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local + (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Thu, 12 Apr 2012 10:05:28 +0200 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: Rainer M Krug +Subject: Re: idea - (dream?) - tagging based on gmail folders - offlineimap, + notmuch or both together? +Date: Thu, 12 Apr 2012 10:05:16 +0200 +Lines: 69 +Message-ID: <4F868CBC.4080605@gmail.com> +References: + +Mime-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 7bit +X-Complaints-To: usenet@dough.gmane.org +X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net +User-Agent: Mozilla/5.0 (X11; Linux i686; + rv:11.0) Gecko/20120329 Thunderbird/11.0.1 +In-Reply-To: + +X-Enigmail-Version: 1.4 +Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org, + Rainer M Krug +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: Thu, 12 Apr 2012 08:05:30 -0000 + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +On 11/04/12 23:23, Alex Botero-Lowry wrote: +> I've implemented a bi-directional notmuch/gmail sync. + +Nice. + +> 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 + +That's a pity. + +> recently, trying to speed up the full sync process by adding multiprocessing. + +I guess that is an option. But how is offlineimap actually doing the syncing? It is reasonabley +fast. If one could either link notmuch with offlineimap to translate the folders directly into +tags, it could be reasonably fast? + +> 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. + +Unfortunately no experience at all with python and mail clients / servers / ... sorry. + +But if you are looking for alpha / beta testers, please let me know. + +Cheers, + +Rainer +> +> On Wed, Apr 11, 2012 at 1:06 AM, Rainer M Krug +> wrote: 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 +>> +>> _______________________________________________ notmuch mailing list +>> notmuch@notmuchmail.org +>> http://notmuchmail.org/mailman/listinfo/notmuch + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) +Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ + +iEYEARECAAYFAk+GjLsACgkQoYgNqgF2egp59gCfRm+9R4hzL51zXh1SW203NUTV +DNwAnAtTEaWXIJV6pK2XLDayhHEY//am +=kSRI +-----END PGP SIGNATURE----- +