Re: Better Gmail handling by not using Notmuch tags
authorRainer M Krug <R.M.Krug@gmail.com>
Fri, 14 Sep 2012 07:50:01 +0000 (09:50 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:31 +0000 (09:49 -0800)
20/45e2b630957f7e469e742f72aa594ebbde4235 [new file with mode: 0644]

diff --git a/20/45e2b630957f7e469e742f72aa594ebbde4235 b/20/45e2b630957f7e469e742f72aa594ebbde4235
new file mode 100644 (file)
index 0000000..e5a692e
--- /dev/null
@@ -0,0 +1,114 @@
+Return-Path: <gmn-notmuch@m.gmane.org>\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 41B46431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 00:50:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.202\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.202 tagged_above=-999 required=5\r
+       tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
+       NML_ADSP_CUSTOM_MED=1.2] 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 BwubLNMMQ3tr for <notmuch@notmuchmail.org>;\r
+       Fri, 14 Sep 2012 00:50:25 -0700 (PDT)\r
+Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 16A32431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 00:50:25 -0700 (PDT)\r
+Received: from list by plane.gmane.org with local (Exim 4.69)\r
+       (envelope-from <gmn-notmuch@m.gmane.org>) id 1TCQfN-00061i-J3\r
+       for notmuch@notmuchmail.org; Fri, 14 Sep 2012 09:50:21 +0200\r
+Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7])\r
+       by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 09:50:21 +0200\r
+Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local\r
+       (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 09:50:21 +0200\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: Rainer M Krug <R.M.Krug@gmail.com>\r
+Subject: Re: Better Gmail handling by not using Notmuch tags\r
+Date: Fri, 14 Sep 2012 09:50:01 +0200\r
+Lines: 45\r
+Message-ID: <5052E1A9.8060503@gmail.com>\r
+References:\r
+ <CA+y5gghe68Sy6BK8FdeGbKEESFD_=2GQ+y+oZSYyt85oQqRuzA@mail.gmail.com>\r
+       <CA+eQo_0nK1rL6DYu2ERqF3U=vZAO_XTpXDtzydHQqBtXqHUOxQ@mail.gmail.com>\r
+       <CA+y5gghnzinnXiabFOEphAuWTJA5Uge9RtGbKu9ur5rP50i_5g@mail.gmail.com>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Content-Transfer-Encoding: 7bit\r
+X-Complaints-To: usenet@ger.gmane.org\r
+X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net\r
+User-Agent: Mozilla/5.0 (X11; Linux i686;\r
+       rv:16.0) Gecko/20120907 Thunderbird/16.0\r
+In-Reply-To:\r
+ <CA+y5gghnzinnXiabFOEphAuWTJA5Uge9RtGbKu9ur5rP50i_5g@mail.gmail.com>\r
+X-Enigmail-Version: 1.5a1pre\r
+Cc: Jeremy Nickurak <public-not-much-kexSNQTsIoD754YsiR0rpA@plane.gmane.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: Fri, 14 Sep 2012 07:50:26 -0000\r
+\r
+-----BEGIN PGP SIGNED MESSAGE-----\r
+Hash: SHA1\r
+\r
+On 13/09/12 17:15, Damien Cassou wrote:\r
+> On Thu, Sep 13, 2012 at 5:13 PM, Jeremy Nickurak \r
+> <not-much@trk.nickurak.ca> wrote:\r
+>> Gmail doesn't have folders, of course, it has labels, which are approximately equivalent to\r
+>> notmuch tags. The key difference being that a message can only be in one folder, but it can\r
+>> have multiple tags/labels.\r
+> \r
+> Gmail exports its labels as IMAP folders: an email with multiple labels will be duplicated in\r
+> multiple folders (one per label). That's why I'm asking if it would be possible to manupale\r
+> folders from Notmuch instead of tags.\r
+> \r
+\r
+I don't think there is an easy solution. notmuch uses a maildir and tags. Gmail needs to be synced\r
+to this local maildir earlier, and this is where I think the problem comes in: I am not aware of\r
+any sync tool which maintains the gmail labels, as they are in in the imap context folders.\r
+\r
+I think the only real solution woud be:\r
+\r
+Download from gmail -> local:\r
+1) download only the "All Mail" folder\r
+2) implement a tagging tool which syncs the gmail labels to notmuch tags\r
+\r
+upload local -> gmail\r
+1) upload "All Mail folder\r
+2) assign on gmail the labels corresponding to the notmuch tags.\r
+\r
+The step 1 could be done by any sync tool available for this (offlineimap, ...)\r
+\r
+step 2 needs to be developed - no idea how, but it surely would be really usefull, because then\r
+notmuch would even become a perfect tool for gmail backup as well.\r
+\r
+Cheers,\r
+\r
+Rainer\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+Comment: Using GnuPG with Mozilla - http://www.enigmail.net/\r
+\r
+iEYEARECAAYFAlBS4akACgkQoYgNqgF2egoGhwCaAgfXQUAK4RK1v22JOhgYXfR1\r
++C8AnRU892SrxK7IYN9xoxhM865Y+vTA\r
+=ma75\r
+-----END PGP SIGNATURE-----\r
+\r