From 95b0df05c91679c1ae53faf550df2d80b81fd582 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Tue, 27 Nov 2012 20:07:10 +0100 Subject: [PATCH] Re: gmail label support patch available for oflineimap --- b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895 | 202 ++++++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895 diff --git a/b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895 b/b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895 new file mode 100644 index 000000000..708a47f96 --- /dev/null +++ b/b2/44e796f79fed5dc8e1d81f2a6b7aac76c68895 @@ -0,0 +1,202 @@ +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 627B7431FB6 + for ; Tue, 27 Nov 2012 11:07:14 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.798 +X-Spam-Level: +X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, HTML_MESSAGE=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 Z1fSKCexxav1 for ; + Tue, 27 Nov 2012 11:07:12 -0800 (PST) +Received: from mail-we0-f181.google.com (mail-we0-f181.google.com + [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 4D566431FAE + for ; Tue, 27 Nov 2012 11:07:12 -0800 (PST) +Received: by mail-we0-f181.google.com with SMTP id t11so5461532wey.26 + for ; Tue, 27 Nov 2012 11:07:11 -0800 (PST) +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=x0EUQ1bXibCpyw4l4OumWO50TEpGDR1GEt5ccjry30c=; + b=OgKY5MI5kv2hoDwAM53ZuyydBOgzEviYqV0mWZ8N+BEp/W7XjZ8Tn5yMSxmoymUuzQ + JicLbsEBhB4nm8Naqm8/94/7sO3k/eJHwx32A3h1+cDJMWillDBuD5Q54apr8rUeJWtZ + WUEAepqDBeJVub1TbROIFrsZhj3t6qUAqqpAn2OuzSMNf/nQrwlEe9E4AErZzUSPRwCI + aoHV00q66GpyDLPH3n5VR3OvNBvPGZtnLfgAKzHqyrq8iywWRvH+sfEeDJSsa36dltHj + ESgtkf7zsUW8NR4LFujGUN9EECPCMlqgTCxs2pN/NK1o8UF6Y38SL97YspveIv2dprPG + 0Jmg== +MIME-Version: 1.0 +Received: by 10.180.88.42 with SMTP id bd10mr20743293wib.8.1354043230970; Tue, + 27 Nov 2012 11:07:10 -0800 (PST) +Received: by 10.194.35.138 with HTTP; Tue, 27 Nov 2012 11:07:10 -0800 (PST) +In-Reply-To: +References: <87zk24ctko.fsf@convex-new.cs.unb.ca> + <50B3871B.2050509@gmail.com> <87r4ngcl00.fsf@convex-new.cs.unb.ca> + <50B48627.9040409@gmail.com> +Date: Tue, 27 Nov 2012 20:07:10 +0100 +Message-ID: + +Subject: Re: gmail label support patch available for oflineimap +From: Rainer M Krug +To: Michal Nazarewicz +Content-Type: multipart/alternative; boundary=f46d0444e927cae2cc04cf7ec1f2 +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: Tue, 27 Nov 2012 19:07:14 -0000 + +--f46d0444e927cae2cc04cf7ec1f2 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +On 27 November 2012 18:00, Michal Nazarewicz wrote: + +> On Tue, Nov 27 2012, Rainer M Krug wrote: +> > So from your point of view - what would be the best / most consistent +> > approach with gmail? Sync All Mail folder (and Inbox) with offlineimap +> > and sync the label information via notmuch? Would definitely seem to +> > make sense, as it deals with labels on the gmail side which is nothing +> > different to tags in notmuch. +> +> So why do we need the offlineimap step here? In the scenario you've +> described, notmuch needs to speak IMAP, than why can't it just download +> the mail all together. +> + +Yes - offlineimap is not needed actually, but I personally I see notmuch as +an indexing / tagging program for a mailabox in maildir format, which means +local. So all changes are done locally, and not bad on an imap server (or +synching tags with an imap server). This would be the job for offlineimap. +But actually I don't care which program is doing it. + + +> +> > But I definitely share your concerns about modifying the emails itself. +> +> Big deal. Email headers are modified all the time by various pieces of +> software. +> + +Well - it is ust my feeling that the lesser changes are done to the email +and its headers, the better. + +Cheers, + +Rainer + + + +> +> -- +> Best regards, _ _ +> .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o +> ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = + (o o) +> ooo +------------------ooO--(_)--Ooo-- +> +> + + +--=20 +Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, +UCT), Dipl. Phys. (Germany) + +Centre of Excellence for Invasion Biology +Stellenbosch University +South Africa + +Tel : +33 - (0)9 53 10 27 44 +Cell: +33 - (0)6 85 62 59 98 +Fax (F): +33 - (0)9 58 10 27 44 + +Fax (D): +49 - (0)3 21 21 25 22 44 + +email: Rainer@krugs.de + +Skype: RMkrug + +--f46d0444e927cae2cc04cf7ec1f2 +Content-Type: text/html; charset=ISO-8859-2 +Content-Transfer-Encoding: quoted-printable + +
On 27 November 2012 1= +8:00, Michal Nazarewicz <mina86@mina86.com> wrote:
+
On Tue, Nov 27 2012, Rainer M Krug wrote:
+> So from your point of view - what would be the best / most consistent<= +br> +> approach with gmail? Sync All Mail folder (and Inbox) with offlineimap= +
+> and sync the label information via notmuch? Would definitely seem to +> make sense, as it deals with labels on the gmail side which is nothing= +
+> different to tags in notmuch.
+
+
So why do we need the offlineimap step here? In the scenario you'= +ve
+described, notmuch needs to speak IMAP, than why can't it just download= +
+the mail all together.

Yes - offlineimap is not ne= +eded actually, but I personally I see notmuch as an indexing / tagging prog= +ram for a mailabox in maildir format, which means local. So all changes are= + done locally, and not bad on an imap server (or synching tags with an imap= + server). This would be the job for offlineimap. But actually I don't c= +are which program is doing it.
+ 
+

+> But I definitely share your concerns about modifying the emails itself= +.
+
+
Big deal.  Email headers are modified all the time by various pi= +eces of
+software.

Well - it is ust my feeling that the les= +ser changes are done to the email and its headers, the better.

Cheer= +s,

Rainer

 
+ +
+--
+Best regards,                  = +;                     &nb= +sp; _     _
+.o. | Liege of Serenely Enlightened Majesty of      o' \= +,=3D./ `o
+..o | Computer Science,  Micha=B3 “mina86” Nazarewicz &nbs= +p;  (o o)
+ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--





--
Rainer M. Krug, PhD (Conservation Ecology= +, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
+
Centre of Excellence for Invasion Biology
Stellenbosch UniversitySouth Africa

Tel :       +33 - (0)9 53 10 27 44
C= +ell:       +33 - (0)6 85 62 59 98
Fax (F):     = +  +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21= + 25 22 44
+
email:      
Rainer@krugs.de

Skype:      RMkrug
+
+ +--f46d0444e927cae2cc04cf7ec1f2-- -- 2.26.2