From 246c7f0d15bcf5cece7392cccff3f1020f33f631 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Mon, 17 Dec 2012 08:31:50 +0000 Subject: [PATCH] Re: gmail importer script --- 19/f06da9b77722a6cee4268acaabb0c41fc20a89 | 118 ++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 19/f06da9b77722a6cee4268acaabb0c41fc20a89 diff --git a/19/f06da9b77722a6cee4268acaabb0c41fc20a89 b/19/f06da9b77722a6cee4268acaabb0c41fc20a89 new file mode 100644 index 000000000..30de6fc93 --- /dev/null +++ b/19/f06da9b77722a6cee4268acaabb0c41fc20a89 @@ -0,0 +1,118 @@ +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 156FE431FAF + for ; Mon, 17 Dec 2012 00:31:57 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=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 7-R8tUoHDUZa for ; + Mon, 17 Dec 2012 00:31:56 -0800 (PST) +Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com + [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 82D74431FAE for ; Mon, 17 Dec 2012 00:31:56 -0800 + (PST) +Received: by mail-wg0-f47.google.com with SMTP id dq11so2401808wgb.2 + for ; Mon, 17 Dec 2012 00:31:53 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=content-type:mime-version:content-disposition:to:from:in-reply-to + :cc:references:message-id:user-agent:subject:date; + bh=sptlguQK69ULYxY899gV13G223UMJ/hmtJJFALst2T4=; + b=qhTgnSryPW8ccLYafkBk2vg+D1c3jBfG1revnlrtGASKsit/OIdZwleSy8OzC3fN5Y + TqhxXJ2J/Pz2dJ2ics7UbFfOdREbWWhrN7qA/1ixWZkt880wpZZcLSxseUXzLcgXece7 + 9hBwJfqjr+wEJT3QezvkJLG4fjCox8hRXuy/RurHKYiV79xf439k35t7t+7eq8HjKEM5 + NkTqLKoJhfH31Zfvo7pl0QwSCO8qJhq7N32FfqCRiHF9tQV42BEAmUV7aA1cXnRCulBC + LO+i6dUFnvpabVzsVizqS9SYSzqdgSYibD54gjTvti467YyTmJ+TbDZqECPFddbKuWJW + 0s5w== +Received: by 10.180.99.1 with SMTP id em1mr2093126wib.20.1355733113813; + Mon, 17 Dec 2012 00:31:53 -0800 (PST) +Received: from localhost (cpc14-sgyl28-2-0-cust332.18-2.cable.virginmedia.com. + [82.39.85.77]) + by mx.google.com with ESMTPS id dm3sm10075014wib.9.2012.12.17.00.31.51 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 17 Dec 2012 00:31:52 -0800 (PST) +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="pgp-sha1"; boundary="===============3152374373133729540==" +MIME-Version: 1.0 +Content-Disposition: inline +To: Patrick Totzke , + "Jason A. Donenfeld" , +From: Patrick Totzke +In-Reply-To: <20121216223122.12613.32665@brick.lan> +References: + + <20121213141917.GD3658@tungsten.lan.mitsi.com> + + <20121213152314.GA9714@tungsten.lan.mitsi.com> + + <20121213164837.17456.37373@megatron> + + <20121215104158.18116.1509@brick.lan> + + <20121216223122.12613.32665@brick.lan> +Message-ID: <20121217083150.377.93452@brick.lan> +User-Agent: alot/0.3.3+ +Subject: Re: gmail importer script +Date: Mon, 17 Dec 2012 08:31:50 +0000 +Cc: notmuch ML +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: Mon, 17 Dec 2012 08:31:57 -0000 + +--===============3152374373133729540== +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable + +BTW: I removed the whole maildir contents and restarted the downlowd over n= +ight. here's the result: + +--------------------------------------------------------------- +Traceback (most recent call last):2|#################### = + | 26% ETA: 1:37:22 3.11 emails/s + File "./gmail-notmuch.py", line 253, in + main() + File "./gmail-notmuch.py", line 89, in main + download_new_messages(imap, database, new_messages, destination) + File "./gmail-notmuch.py", line 210, in download_new_messages + tag_message(database, dest, labels) + File "./gmail-notmuch.py", line 168, in tag_message + raise e +notmuch.errors.FileNotEmailError +----------------------------------------------------------------------- + +/p + +--===============3152374373133729540== +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Description: signature +Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iEYEABECAAYFAlDO2HYACgkQlDQDZ9fWxaprkQCfat0Rr5KrdpoafQzedwp1+uck +1IsAn3Q7DLNAfMkdh6n4spwL1+K84tk0 +=0M77 +-----END PGP SIGNATURE----- + +--===============3152374373133729540==-- -- 2.26.2