Re: How to debug 'ignoring non-mail file' issues
authorPerttu Luukko <perttu.luukko@iki.fi>
Thu, 4 Sep 2014 11:01:27 +0000 (14:01 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:26 +0000 (10:04 -0800)
d1/61a7d869e5fd29dff7e071331bbc96f916d600 [new file with mode: 0644]

diff --git a/d1/61a7d869e5fd29dff7e071331bbc96f916d600 b/d1/61a7d869e5fd29dff7e071331bbc96f916d600
new file mode 100644 (file)
index 0000000..0a04044
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <perttu.luukko@iki.fi>\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 252F7431FB6\r
+       for <notmuch@notmuchmail.org>; Thu,  4 Sep 2014 04:01:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 QWj3ak1pkqcJ for <notmuch@notmuchmail.org>;\r
+       Thu,  4 Sep 2014 04:01:36 -0700 (PDT)\r
+Received: from mail.kapsi.fi (mail.kapsi.fi [217.30.184.167])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 6AF5D431FAF\r
+       for <notmuch@notmuchmail.org>; Thu,  4 Sep 2014 04:01:36 -0700 (PDT)\r
+Received: from lakka.kapsi.fi ([2001:1bc8:1004::1] ident=Debian-exim)\r
+       by mail.kapsi.fi with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)\r
+       (Exim 4.72) (envelope-from <perttu.luukko@iki.fi>)\r
+       id 1XPUn9-0002D2-IS\r
+       for notmuch@notmuchmail.org; Thu, 04 Sep 2014 14:01:27 +0300\r
+Received: from nuteater by lakka.kapsi.fi with local (Exim 4.80)\r
+       (envelope-from <perttu.luukko@iki.fi>) id 1XPUn9-0008QU-C2\r
+       for notmuch@notmuchmail.org; Thu, 04 Sep 2014 14:01:27 +0300\r
+Date: Thu, 4 Sep 2014 14:01:27 +0300\r
+From: Perttu Luukko <perttu.luukko@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: How to debug 'ignoring non-mail file' issues\r
+Message-ID: <20140904110127.GA17618@lakka.kapsi.fi>\r
+References: <20140831074059.GA13399@rakuuna.dhcp.inet.fi>\r
+       <87oav0sj3f.fsf@maritornes.cs.unb.ca>\r
+       <20140901064106.GA3901@lakka.kapsi.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <20140901064106.GA3901@lakka.kapsi.fi>\r
+User-Agent: Mutt/1.5.22.1 (2013-10-16)\r
+X-SA-Exim-Connect-IP: 2001:1bc8:1004::1\r
+X-SA-Exim-Mail-From: perttu.luukko@iki.fi\r
+X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false\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, 04 Sep 2014 11:01:40 -0000\r
+\r
+On 2014-09-01 09:41:06, Perttu Luukko wrote:\r
+> Yes, that indeed works. I'll probably move these ignored files to a\r
+> separate folder for inspection.\r
+\r
+I looked at the mails that are still ignored after upgrading GMime to\r
+latest version, and I think I have found what they have in common. All\r
+of my ignored emails are from 2010-2011, and for some reason these mails\r
+contain a line like this:\r
+\r
+>From username  Wed Sep 28 16:43:49 2011\r
+\r
+somewhere among the headers. Note the '>' at the beginning of the line.\r
+The mails that are still ignored after upgrading GMime are those where\r
+this line happens to be the first line. Also, all of them have\r
+attachments for some reason. That line certainly doesn't look right, and\r
+I don't know where it came from. It might be some byproduct of mail\r
+redirection, since it shows my username, but the mails are not sent by\r
+me.\r
+\r
+I moved these problematic lines to the second line of each message, and\r
+now they are imported without problems. I probably won't file a bug for\r
+GMime because I have no idea whether this is just some oddity caused by\r
+my mail setup. Let this information reside here in case someone else has\r
+a similar problem.\r
+\r
+-- \r
+Perttu\r