Re: gmail importer script
authorPatrick Totzke <patricktotzke@gmail.com>
Thu, 13 Dec 2012 16:48:37 +0000 (16:48 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:08 +0000 (09:52 -0800)
d3/0c6ff5487f486603f910daaa2abf7f183d7aef [new file with mode: 0644]

diff --git a/d3/0c6ff5487f486603f910daaa2abf7f183d7aef b/d3/0c6ff5487f486603f910daaa2abf7f183d7aef
new file mode 100644 (file)
index 0000000..6d1f45c
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <patricktotzke@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 8D420431FBC\r
+       for <notmuch@notmuchmail.org>; Thu, 13 Dec 2012 08:46:47 -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 t5bub92Uk9Qa for <notmuch@notmuchmail.org>;\r
+       Thu, 13 Dec 2012 08:46:47 -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 04620431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 13 Dec 2012 08:46:46 -0800 (PST)\r
+Received: by mail-we0-f181.google.com with SMTP id t11so960992wey.26\r
+       for <notmuch@notmuchmail.org>; Thu, 13 Dec 2012 08:46:45 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=content-type:mime-version:content-transfer-encoding:to:from\r
+       :in-reply-to:cc:references:message-id:user-agent:subject:date;\r
+       bh=dOzgm5jf0kzbkQ2jTI6fdBkLXhW0Bck4aYjwcYrw4lc=;\r
+       b=KSSXkcrkSOjjfNnkQtrrf1beoMawMn71IAn/cCdJq7TvN37aXgzS84uxWRP0J1k1wg\r
+       uLL5hzePn3D8Ok1I36AjW16vhRtFgKo5CmwRLUKYjlAmDo1kKgNz1QzqeTrwG+qn8RTN\r
+       XaNsCR4sMeEGeDMzKz/dOo0oQn07F2FWbfNuyivIVG9E5UN7VJnqaex4EPxHluDW7N2c\r
+       XBzeAF4of9wlxKz8Bb1c7gU+f3XELOXOD48efoNsTo3xntnqMA0xGox+JZHiunYIn3RX\r
+       cqpcTx83SbY763cEOvwbLjxUEPciUr1MiKJha0fsyjE8AL0ZTq3rTwJRGIYrCSYJTjXC\r
+       mShA==\r
+Received: by 10.180.97.137 with SMTP id ea9mr4518811wib.13.1355417205872;\r
+       Thu, 13 Dec 2012 08:46:45 -0800 (PST)\r
+Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36])\r
+       by mx.google.com with ESMTPS id bd7sm3375406wib.8.2012.12.13.08.46.43\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 13 Dec 2012 08:46:44 -0800 (PST)\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+To: "Jason A. Donenfeld" <Jason@zx2c4.com>, fREW Schmidt <frioux@gmail.com>\r
+From: Patrick Totzke <patricktotzke@gmail.com>\r
+In-Reply-To:\r
+ <CAHmME9r8UrzzCGO7KH=HBdpB=usTgX3tzWtgRR4Q8QjdP7oqPA@mail.gmail.com>\r
+References:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
+       <20121207092305.4942.42415@megatron>\r
+       <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>\r
+       <20121208162055.14777.40147@brick.lan>\r
+       <CAHmME9obAbvmXDJnQDGhSonADQYJr55gT4m62jkiWv0k8zrPpA@mail.gmail.com>\r
+       <CAHmME9r1JRtcCCLox8oJBRP1ATmOHSAuDvj4+6NZXTD=8ism1Q@mail.gmail.com>\r
+       <20121213141917.GD3658@tungsten.lan.mitsi.com>\r
+       <CAHmME9op8V+ZJGVwBJPZ653mHYBnMAvxb426LAP-Bu27-rzmYA@mail.gmail.com>\r
+       <20121213152314.GA9714@tungsten.lan.mitsi.com>\r
+       <CAHmME9r8UrzzCGO7KH=HBdpB=usTgX3tzWtgRR4Q8QjdP7oqPA@mail.gmail.com>\r
+Message-ID: <20121213164837.17456.37373@megatron>\r
+User-Agent: alot/0.3.3+\r
+Subject: Re: gmail importer script\r
+Date: Thu, 13 Dec 2012 16:48:37 +0000\r
+Cc: notmuch ML <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: Thu, 13 Dec 2012 16:46:47 -0000\r
+\r
+\r
+Sorry, I'm misusing this thread as a bugtracker..\r
+\r
+------------------------------------------------\r
+Traceback (most recent call last):4|####                                   =\r
+    | 10% ETA:  1:24:41   3.54  emails/s\r
+  File "./gmail-notmuch.py", line 251, in <module>\r
+    main()\r
+  File "./gmail-notmuch.py", line 89, in main\r
+    download_new_messages(imap, database, new_messages, destination)\r
+  File "./gmail-notmuch.py", line 208, in download_new_messages\r
+    tag_message(database, dest, labels)\r
+  File "./gmail-notmuch.py", line 168, in tag_message\r
+    raise e\r
+notmuch.errors.FileNotEmailError\r
+------------------------------------------------\r
+\r
+\r
+best,\r
+/p\r