Re: gmail importer script
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 7 Dec 2012 15:30:55 +0000 (16:30 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:42 +0000 (09:51 -0800)
ed/7a1180891234c5de6100a4872aa3dcd0065615 [new file with mode: 0644]

diff --git a/ed/7a1180891234c5de6100a4872aa3dcd0065615 b/ed/7a1180891234c5de6100a4872aa3dcd0065615
new file mode 100644 (file)
index 0000000..31ee399
--- /dev/null
@@ -0,0 +1,116 @@
+Return-Path: <Jason@zx2c4.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 5118D431FB6\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 07:30:57 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.099\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] 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 TPaw8CsiStN7 for <notmuch@notmuchmail.org>;\r
+       Fri,  7 Dec 2012 07:30:57 -0800 (PST)\r
+Received: from homiemail-a6.g.dreamhost.com (caiajhbdcbhh.dreamhost.com\r
+       [208.97.132.177])\r
+       by olra.theworths.org (Postfix) with ESMTP id E1AB6431FAE\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 07:30:56 -0800 (PST)\r
+Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 6853259807A\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 07:30:56 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version\r
+       :in-reply-to:references:date:message-id:subject:from:to:cc:\r
+       content-type; s=zx2c4.com; bh=VqbwUbThTa5eNRU0W6qjyPJqdJU=; b=Nl\r
+       Qbp35cOmGx5ATalpfNI4iDkYFXQ3qHDZUbACVRTiXrRFTud3EDFN/+XzZpVquCYB\r
+       OM2l26A3OzdXE8r3qYC02wgkjtojU9HSXoKVDzx0rQKWTo7R9Y7dd5ZoCscOoDWS\r
+       NhIkQS2eq15wVlmp14meDqFjZrQQl9DKQfcB/sNZ0=\r
+Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com\r
+       [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: jason@zx2c4.com)\r
+       by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 4E413598069\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 07:30:56 -0800 (PST)\r
+Received: by mail-ob0-f181.google.com with SMTP id oi10so521518obb.26\r
+       for <notmuch@notmuchmail.org>; Fri, 07 Dec 2012 07:30:55 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.60.21.167 with SMTP id w7mr3329561oee.18.1354894255822; Fri,\r
+       07 Dec 2012 07:30:55 -0800 (PST)\r
+Received: by 10.76.33.70 with HTTP; Fri, 7 Dec 2012 07:30:55 -0800 (PST)\r
+In-Reply-To:\r
+ <CAHmME9pKBJ1Brad=Z1pErSjGqjsZ8Xn56uM-k-U7WLgwjspN_w@mail.gmail.com>\r
+References:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
+       <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>\r
+       <CAHmME9pKBJ1Brad=Z1pErSjGqjsZ8Xn56uM-k-U7WLgwjspN_w@mail.gmail.com>\r
+Date: Fri, 7 Dec 2012 16:30:55 +0100\r
+Message-ID:\r
+ <CAHmME9pZGmfRwvA=xwfEVi_AOTm-o8N+MYLbHihADmRT3mOT4g@mail.gmail.com>\r
+Subject: Re: gmail importer script\r
+From: "Jason A. Donenfeld" <Jason@zx2c4.com>\r
+To: Rainer M Krug <R.M.Krug@gmail.com>\r
+Content-Type: multipart/alternative; boundary=e89a8f83ae27d3992c04d044e646\r
+Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,\r
+       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: Fri, 07 Dec 2012 15:30:57 -0000\r
+\r
+--e89a8f83ae27d3992c04d044e646\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+\r
+On Fri, Dec 7, 2012 at 2:48 PM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:\r
+\r
+>\r
+>\r
+>\r
+>\r
+>> 3) are label changes in gmail synched into the local emails?\r
+>>\r
+>\r
+> It pulls labels from gmail messages into notmuch, with the labels in tact,\r
+> once per each email.\r
+>\r
+\r
+Okay, it's way more robust now. Just updated it. Now it will pull gmail\r
+labels to notmuch, each time, every time. So you can run this thing over\r
+and over, and it will always push gmail into notmuch. It doesn't yet sync\r
+the the other way yet, but at least this is now fairly robust.\r
+\r
+--e89a8f83ae27d3992c04d044e646\r
+Content-Type: text/html; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<br><br><div class=3D"gmail_quote">On Fri, Dec 7, 2012 at 2:48 PM, Jason A.=\r
+ Donenfeld <span dir=3D"ltr">&lt;<a href=3D"mailto:Jason@zx2c4.com" target=\r
+=3D"_blank">Jason@zx2c4.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=\r
+mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=\r
+eft:1ex">\r
+<br><div class=3D"gmail_quote"><br><div class=3D"im"><div>=A0</div><blockqu=\r
+ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=\r
+olid;padding-left:1ex">\r
+\r
+3) are label changes in gmail synched into the local emails?<br></blockquot=\r
+e><div><br></div></div><div>It pulls labels from gmail messages into notmuc=\r
+h, with the labels in tact, once per each email.</div></div></blockquote>\r
+<div><br></div><div>Okay, it&#39;s way more robust now. Just updated it. No=\r
+w it will pull gmail labels to notmuch, each time, every time. So you can r=\r
+un this thing over and over, and it will always push gmail into notmuch. It=\r
+ doesn&#39;t yet sync the the other way yet, but at least this is now fairl=\r
+y robust.</div>\r
+</div>\r
+\r
+--e89a8f83ae27d3992c04d044e646--\r