Re: gmail importer script
authorPatrick Totzke <patricktotzke@gmail.com>
Sat, 15 Dec 2012 10:41:58 +0000 (10:41 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:15 +0000 (09:52 -0800)
dc/a6b24dedc570017a5b82c6c909ac422b102c39 [new file with mode: 0644]

diff --git a/dc/a6b24dedc570017a5b82c6c909ac422b102c39 b/dc/a6b24dedc570017a5b82c6c909ac422b102c39
new file mode 100644 (file)
index 0000000..2ff8c8f
--- /dev/null
@@ -0,0 +1,120 @@
+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 30BAB431FC0\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 02:42:03 -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 9pqj39BiEZcG for <notmuch@notmuchmail.org>;\r
+       Sat, 15 Dec 2012 02:42:02 -0800 (PST)\r
+Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com\r
+ [74.125.82.47])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ A1A9A431FBF   for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 02:42:02 -0800\r
+ (PST)\r
+Received: by mail-wg0-f47.google.com with SMTP id dq11so1760910wgb.2\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 02:42:01 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:content-type:mime-version:content-disposition:to:from\r
+       :in-reply-to:cc:references:message-id:user-agent:subject:date;\r
+       bh=Au1kAMNQaXRZICpb96nrsdwz3B9pfxbwFsj7sZuunlA=;\r
+       b=dJopn9OchliQVJYJQgqpBvb1jOT9oMX2yBDjGBzCoCMgj+257Z5E/LEB5WDcrRM6i7\r
+       MG5a4dIId4jm9f5exasMrapKtMJi5H4A0C7PmGQAb/NoNXX+1PZnIkIGhXrxRabfyj77\r
+       iU7yPesGdxVakUqpah/N7btLpk/4AZklcmZoz/e8YGAKPMfWQqR67IHpOgGjH2oJ69tV\r
+       Ep0x1HqHS3n8w3rr6JukRucV2pbfhAbP/yZrSzG04H0qJzXgGbOYygAx8vpHm6AcVHKe\r
+       xvO7RJEdi/C7o22XrivkNFInsIzLz48z9LE6YYokp4POJPiaq90rDt5KVjMwBB7YZYyu\r
+       /0Tw==\r
+X-Received: by 10.180.87.39 with SMTP id u7mr6979359wiz.6.1355568121591;\r
+       Sat, 15 Dec 2012 02:42:01 -0800 (PST)\r
+Received: from localhost (cpc14-sgyl28-2-0-cust332.18-2.cable.virginmedia.com.\r
+       [82.39.85.77])\r
+       by mx.google.com with ESMTPS id s10sm1720868wiw.4.2012.12.15.02.41.59\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 15 Dec 2012 02:42:00 -0800 (PST)\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+       micalg="pgp-sha1"; boundary="===============2873190718164793012=="\r
+MIME-Version: 1.0\r
+Content-Disposition: inline\r
+To: "Jason A. Donenfeld" <Jason@zx2c4.com>, \r
+From: Patrick Totzke <patricktotzke@gmail.com>\r
+In-Reply-To:\r
+ <CAHmME9rkrHuxurV7_vfZoxggmHcM9Lon5gpG+_i0qzasUh4S9g@mail.gmail.com>\r
+References:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@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
+       <20121213164837.17456.37373@megatron>\r
+       <CAHmME9rkrHuxurV7_vfZoxggmHcM9Lon5gpG+_i0qzasUh4S9g@mail.gmail.com>\r
+Message-ID: <20121215104158.18116.1509@brick.lan>\r
+User-Agent: alot/0.3.3+\r
+Subject: Re: gmail importer script\r
+Date: Sat, 15 Dec 2012 10:41:58 +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: Sat, 15 Dec 2012 10:42:03 -0000\r
+\r
+--===============2873190718164793012==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Quoting Jason A. Donenfeld (2012-12-15 08:22:46)\r
+> On Thu, Dec 13, 2012 at 5:48 PM, Patrick Totzke <patricktotzke@gmail.com>\r
+> wrote:\r
+> =\r
+\r
+> =\r
+\r
+>     notmuch.errors.FileNotEmailError\r
+> =\r
+\r
+> =\r
+\r
+> Delete the file it dies on and try again.\r
+\r
+Well, thats not the point.. the script shouldn't die like this.\r
+I think it's be better if the script caught that exception, deleted the file\r
+and continued..\r
+\r
+Thanks,\r
+/p\r
+\r
+--===============2873190718164793012==\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: 7bit\r
+Content-Description: signature\r
+Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEABECAAYFAlDMU/YACgkQlDQDZ9fWxaqk5gCdEcOVSdgOXqsam7objXLMyhPm\r
+kdwAoI92eZD/YAMSMrwn7ejCmmF/db5B\r
+=llhR\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============2873190718164793012==--\r