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

diff --git a/b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895 b/b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895
new file mode 100644 (file)
index 0000000..708a47f
--- /dev/null
@@ -0,0 +1,202 @@
+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 627B7431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 11:07:14 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.798\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.798 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7]\r
+       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 Z1fSKCexxav1 for <notmuch@notmuchmail.org>;\r
+       Tue, 27 Nov 2012 11:07:12 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 4D566431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 11:07:12 -0800 (PST)\r
+Received: by mail-we0-f181.google.com with SMTP id t11so5461532wey.26\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 11:07:11 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+       :cc:content-type;\r
+       bh=x0EUQ1bXibCpyw4l4OumWO50TEpGDR1GEt5ccjry30c=;\r
+       b=OgKY5MI5kv2hoDwAM53ZuyydBOgzEviYqV0mWZ8N+BEp/W7XjZ8Tn5yMSxmoymUuzQ\r
+       JicLbsEBhB4nm8Naqm8/94/7sO3k/eJHwx32A3h1+cDJMWillDBuD5Q54apr8rUeJWtZ\r
+       WUEAepqDBeJVub1TbROIFrsZhj3t6qUAqqpAn2OuzSMNf/nQrwlEe9E4AErZzUSPRwCI\r
+       aoHV00q66GpyDLPH3n5VR3OvNBvPGZtnLfgAKzHqyrq8iywWRvH+sfEeDJSsa36dltHj\r
+       ESgtkf7zsUW8NR4LFujGUN9EECPCMlqgTCxs2pN/NK1o8UF6Y38SL97YspveIv2dprPG\r
+       0Jmg==\r
+MIME-Version: 1.0\r
+Received: by 10.180.88.42 with SMTP id bd10mr20743293wib.8.1354043230970; Tue,\r
+       27 Nov 2012 11:07:10 -0800 (PST)\r
+Received: by 10.194.35.138 with HTTP; Tue, 27 Nov 2012 11:07:10 -0800 (PST)\r
+In-Reply-To: <xa1tfw3vugkf.fsf@mina86.com>\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
+       <50B48627.9040409@gmail.com> <xa1tfw3vugkf.fsf@mina86.com>\r
+Date: Tue, 27 Nov 2012 20:07:10 +0100\r
+Message-ID:\r
+ <CAGhLh6Fhxq=bFHVPfVaMg0dXLgF3VEr-nBh62CbBAW7arwsM9Q@mail.gmail.com>\r
+Subject: Re: gmail label support patch available for oflineimap\r
+From: Rainer M Krug <r.m.krug@gmail.com>\r
+To: Michal Nazarewicz <mina86@mina86.com>\r
+Content-Type: multipart/alternative; boundary=f46d0444e927cae2cc04cf7ec1f2\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, 27 Nov 2012 19:07:14 -0000\r
+\r
+--f46d0444e927cae2cc04cf7ec1f2\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 27 November 2012 18:00, Michal Nazarewicz <mina86@mina86.com> wrote:\r
+\r
+> On Tue, Nov 27 2012, Rainer M Krug wrote:\r
+> > So from your point of view - what would be the best / most consistent\r
+> > approach with gmail? Sync All Mail folder (and Inbox) with offlineimap\r
+> > and sync the label information via notmuch? Would definitely seem to\r
+> > make sense, as it deals with labels on the gmail side which is nothing\r
+> > different to tags in notmuch.\r
+>\r
+> So why do we need the offlineimap step here? In the scenario you've\r
+> described, notmuch needs to speak IMAP, than why can't it just download\r
+> the mail all together.\r
+>\r
+\r
+Yes - offlineimap is not needed actually, but I personally I see notmuch as\r
+an indexing / tagging program for a mailabox in maildir format, which means\r
+local. So all changes are done locally, and not bad on an imap server (or\r
+synching tags with an imap server). This would be the job for offlineimap.\r
+But actually I don't care which program is doing it.\r
+\r
+\r
+>\r
+> > But I definitely share your concerns about modifying the emails itself.\r
+>\r
+> Big deal.  Email headers are modified all the time by various pieces of\r
+> software.\r
+>\r
+\r
+Well - it is ust my feeling that the lesser changes are done to the email\r
+and its headers, the better.\r
+\r
+Cheers,\r
+\r
+Rainer\r
+\r
+\r
+\r
+>\r
+> --\r
+> Best regards,                                         _     _\r
+> .o. | Liege of Serenely Enlightened Majesty of      o' \,=3D./ `o\r
+> ..o | Computer Science,  Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz =\r
+   (o o)\r
+> ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--\r
+>\r
+>\r
+\r
+\r
+--=20\r
+Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,\r
+UCT), Dipl. Phys. (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 (F):       +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
+\r
+--f46d0444e927cae2cc04cf7ec1f2\r
+Content-Type: text/html; charset=ISO-8859-2\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<div class=3D"gmail_extra"><div class=3D"gmail_quote">On 27 November 2012 1=\r
+8:00, Michal Nazarewicz <span dir=3D"ltr">&lt;<a href=3D"mailto:mina86@mina=\r
+86.com" target=3D"_blank">mina86@mina86.com</a>&gt;</span> wrote:<br><block=\r
+quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=\r
+ solid;padding-left:1ex">\r
+<div class=3D"im">On Tue, Nov 27 2012, Rainer M Krug wrote:<br>\r
+&gt; So from your point of view - what would be the best / most consistent<=\r
+br>\r
+&gt; approach with gmail? Sync All Mail folder (and Inbox) with offlineimap=\r
+<br>\r
+&gt; and sync the label information via notmuch? Would definitely seem to<b=\r
+r>\r
+&gt; make sense, as it deals with labels on the gmail side which is nothing=\r
+<br>\r
+&gt; different to tags in notmuch.<br>\r
+<br>\r
+</div>So why do we need the offlineimap step here? In the scenario you&#39;=\r
+ve<br>\r
+described, notmuch needs to speak IMAP, than why can&#39;t it just download=\r
+<br>\r
+the mail all together.<br></blockquote><div><br>Yes - offlineimap is not ne=\r
+eded actually, but I personally I see notmuch as an indexing / tagging prog=\r
+ram for a mailabox in maildir format, which means local. So all changes are=\r
+ done locally, and not bad on an imap server (or synching tags with an imap=\r
+ server). This would be the job for offlineimap. But actually I don&#39;t c=\r
+are which program is doing it.<br>\r
+&nbsp;</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=\r
+rder-left:1px #ccc solid;padding-left:1ex">\r
+<div class=3D"im"><br>\r
+&gt; But I definitely share your concerns about modifying the emails itself=\r
+.<br>\r
+<br>\r
+</div>Big deal. &nbsp;Email headers are modified all the time by various pi=\r
+eces of<br>\r
+software.<br></blockquote><div><br>Well - it is ust my feeling that the les=\r
+ser changes are done to the email and its headers, the better.<br><br>Cheer=\r
+s,<br><br>Rainer<br><br>&nbsp;<br></div><blockquote class=3D"gmail_quote" s=\r
+tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">\r
+\r
+<span class=3D"HOEnZb"><font color=3D"#888888"><br>\r
+--<br>\r
+Best regards, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=\r
+; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=\r
+sp; _ &nbsp; &nbsp; _<br>\r
+.o. | Liege of Serenely Enlightened Majesty of &nbsp; &nbsp; &nbsp;o&#39; \=\r
+,=3D./ `o<br>\r
+..o | Computer Science, &nbsp;Micha=B3 &ldquo;mina86&rdquo; Nazarewicz &nbs=\r
+p; &nbsp;(o o)<br>\r
+ooo +----&lt;email/xmpp: <a href=3D"mailto:mpn@google.com">mpn@google.com</=\r
+a>&gt;--------------ooO--(_)--Ooo--</font></span><br><br></blockquote></div=\r
+><br><br clear=3D"all"><br>-- <br>Rainer M. Krug, PhD (Conservation Ecology=\r
+, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br>\r
+<br>Centre of Excellence for Invasion Biology<br>Stellenbosch University<br=\r
+>South Africa<br><br>Tel : &nbsp; &nbsp; &nbsp; +33 - (0)9 53 10 27 44<br>C=\r
+ell: &nbsp; &nbsp; &nbsp; +33 - (0)6 85 62 59 98<br>Fax (F): &nbsp; &nbsp; =\r
+&nbsp; +33 - (0)9 58 10 27 44<br><br>Fax (D): &nbsp; &nbsp;+49 - (0)3 21 21=\r
+ 25 22 44<br>\r
+<br>email: &nbsp; &nbsp; &nbsp;<a href=3D"mailto:Rainer@krugs.de" target=3D=\r
+"_blank">Rainer@krugs.de</a><br><br>Skype: &nbsp; &nbsp; &nbsp;RMkrug<br><b=\r
+r>\r
+</div>\r
+\r
+--f46d0444e927cae2cc04cf7ec1f2--\r