Re: gmail label support patch available for oflineimap
authorRainer M Krug <r.m.krug@gmail.com>
Tue, 27 Nov 2012 09:21:43 +0000 (10:21 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:03 +0000 (09:51 -0800)
05/e750f947cd5d2024dd027a0b2987bbdf5af411 [new file with mode: 0644]

diff --git a/05/e750f947cd5d2024dd027a0b2987bbdf5af411 b/05/e750f947cd5d2024dd027a0b2987bbdf5af411
new file mode 100644 (file)
index 0000000..80c367f
--- /dev/null
@@ -0,0 +1,134 @@
+Return-Path: <r.m.krug@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 C20F6431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 01:21:51 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 8K91r9yVcNnJ for <notmuch@notmuchmail.org>;\r
+       Tue, 27 Nov 2012 01:21:51 -0800 (PST)\r
+Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com\r
+ [74.125.83.53])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 0777B431FAE   for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 01:21:50 -0800\r
+ (PST)\r
+Received: by mail-ee0-f53.google.com with SMTP id c50so7717541eek.26\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 01:21:48 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject\r
+       :references:in-reply-to:x-enigmail-version:content-type\r
+       :content-transfer-encoding;\r
+       bh=GaFNkSnN1yCl36T2Ew08FRggNiGRw0mlbPeAjpPzamQ=;\r
+       b=W9Z8ZPBn7sssO7X8KNqgYi+7nz21rTyVSDV3sm6n0by0dzM3pLMhwmPHz+PEyq6Rij\r
+       xPSRQWdZ2YBF0Vov6eUUQcsCFwuFupiEj6bivnoAfmU2I1s1xFeoouBi0jssrp21SX7w\r
+       h5xRycw3gAoEy1e+N6XB6NMU7PDj2jR/3+o9xOmZhWcT3fuQNDxQBegjgcZLS9whlctP\r
+       lGTircAIA/0Vgu0zGxN+a+c/1z3Zxxv3m2MwhtLHMm9hGOonXv5cJsaIsc4VlurxhhKd\r
+       uQrkc9KdzyrH2TdvQHuwy6vS+D9ORgG2yyfcyjQ4oXvAN8KGtRvPcU9rD8Gkpxpegn+I\r
+       o4GA==\r
+Received: by 10.14.199.134 with SMTP id x6mr56038725een.31.1354008107094;\r
+       Tue, 27 Nov 2012 01:21:47 -0800 (PST)\r
+Received: from ?IPv6:2a01:e35:8baa:b070:bccc:a985:fb1b:61f8?\r
+       ([2a01:e35:8baa:b070:bccc:a985:fb1b:61f8])\r
+       by mx.google.com with ESMTPS id k2sm39581340eep.15.2012.11.27.01.21.45\r
+       (version=SSLv3 cipher=OTHER); Tue, 27 Nov 2012 01:21:46 -0800 (PST)\r
+Message-ID: <50B48627.9040409@gmail.com>\r
+Date: Tue, 27 Nov 2012 10:21:43 +0100\r
+From: Rainer M Krug <r.m.krug@gmail.com>\r
+User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0\r
+MIME-Version: 1.0\r
+To: David Bremner <david@tethera.net>\r
+Subject: Re: gmail label support patch available for oflineimap\r
+References: <k8vn08$62g$2@ger.gmane.org> <87zk24ctko.fsf@convex-new.cs.unb.ca>\r
+       <50B3871B.2050509@gmail.com> <87r4ngcl00.fsf@convex-new.cs.unb.ca>\r
+In-Reply-To: <87r4ngcl00.fsf@convex-new.cs.unb.ca>\r
+X-Enigmail-Version: 1.5a1pre\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Content-Transfer-Encoding: 7bit\r
+Cc: notmuch@notmuchmail.org, Rainer@krugs.de\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: Rainer@krugs.de\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, 27 Nov 2012 09:21:51 -0000\r
+\r
+-----BEGIN PGP SIGNED MESSAGE-----\r
+Hash: SHA1\r
+\r
+On 26/11/12 18:49, David Bremner wrote:\r
+> Rainer M Krug <r.m.krug@gmail.com> writes:\r
+> \r
+>> Adding a layer to communicate with a remote server (gmail in this case) would defy the\r
+>> purpose of having notmuch. In my opinion, Synching from gmail to local maildir should be done\r
+>> by another tool, and this synching includes the synching of the gmail labels.\r
+> \r
+> Well, the labels need to be synched with the notmuch database so the choice is between "extend\r
+> notmuch + use offline imap" or "extend notmuch in a different way".  It's true that\r
+> re-inventing (a specialized version of) offline imap seems less than ideal.\r
+\r
+So from your point of view - what would be the best / most consistent approach with gmail? Sync\r
+All Mail folder (and Inbox) with offlineimap and sync the label information via notmuch? Would\r
+definitely seem to make sense, as it deals with labels on the gmail side which is nothing\r
+different to tags in notmuch.\r
+But then this would have to be a kind of tag-sync with gmail.\r
+\r
+> \r
+> In the wild speculation department, since the feature is still in development on the the\r
+> offlineimap side, maybe offlineimap can be convinced to work with a kind of sidecar file\r
+> containing tag information.  I think people have speculated about serializing the notmuch\r
+> database in (something like) that way before.\r
+\r
+As I understand it, the person who implemented it as a patch uses mu / mue and there it works with\r
+the X-headers approach, so I think he will stick with it.\r
+\r
+But I definitely share your concerns about modifying the emails itself.\r
+\r
+Cheers,\r
+\r
+Rainer\r
+\r
+> \r
+> \r
+\r
+\r
+- -- \r
+Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys.\r
+(Germany)\r
+\r
+Centre of Excellence for Invasion Biology\r
+Stellenbosch University\r
+South Africa\r
+\r
+Tel :       +33 - (0)9 53 10 27 44\r
+Cell:       +33 - (0)6 85 62 59 98\r
+Fax :       +33 - (0)9 58 10 27 44\r
+\r
+Fax (D):    +49 - (0)3 21 21 25 22 44\r
+\r
+email:      Rainer@krugs.de\r
+\r
+Skype:      RMkrug\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+Comment: Using GnuPG with Mozilla - http://www.enigmail.net/\r
+\r
+iEYEARECAAYFAlC0hicACgkQoYgNqgF2egp06ACfVkaNUmqbwSuXBjrpS3GpDDgn\r
+AwsAoId8pSGsy05CaYee83OLZcnkpYIU\r
+=QgrG\r
+-----END PGP SIGNATURE-----\r