From 6669892719d46dd2fc59441bf527da825374efd6 Mon Sep 17 00:00:00 2001 From: Perttu Luukko Date: Wed, 3 Sep 2014 07:54:39 +0300 Subject: [PATCH] Re: How to debug 'ignoring non-mail file' issues --- b3/826f17c2dfeab8499d230634f9e934e1931b72 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 b3/826f17c2dfeab8499d230634f9e934e1931b72 diff --git a/b3/826f17c2dfeab8499d230634f9e934e1931b72 b/b3/826f17c2dfeab8499d230634f9e934e1931b72 new file mode 100644 index 000000000..ef7ea96a7 --- /dev/null +++ b/b3/826f17c2dfeab8499d230634f9e934e1931b72 @@ -0,0 +1,85 @@ +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 AD748431FB6 + for ; Tue, 2 Sep 2014 21:55:10 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 rI8+Slouokl0 for ; + Tue, 2 Sep 2014 21:55:02 -0700 (PDT) +Received: from mail.kapsi.fi (mail.kapsi.fi [217.30.184.167]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 04F3A431FAF + for ; Tue, 2 Sep 2014 21:55:01 -0700 (PDT) +Received: from dsl-jklbrasgw1-54fb12-136.dhcp.inet.fi ([84.251.18.136] + helo=localhost) + by mail.kapsi.fi with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) + (Exim 4.72) (envelope-from ) + id 1XP2al-0005cQ-2B; Wed, 03 Sep 2014 07:54:47 +0300 +Date: Wed, 3 Sep 2014 07:54:39 +0300 +From: Perttu Luukko +To: Jani Nikula +Subject: Re: How to debug 'ignoring non-mail file' issues +Message-ID: <20140903045439.GA5022@rakuuna.dhcp.inet.fi> +References: <20140831074059.GA13399@rakuuna.dhcp.inet.fi> + <87tx4ssoux.fsf@maritornes.cs.unb.ca> + <20140901065220.GB3901@lakka.kapsi.fi> + <20140901071526.GA13634@lakka.kapsi.fi> <87r3ztvjwn.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87r3ztvjwn.fsf@nikula.org> +User-Agent: Mutt/1.5.22.1 (2013-10-16) +X-SA-Exim-Connect-IP: 84.251.18.136 +X-SA-Exim-Mail-From: perttu.luukko@iki.fi +X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false +Cc: notmuch@notmuchmail.org +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: Wed, 03 Sep 2014 04:55:10 -0000 + +On 2014-09-02 23:37:12, Jani Nikula wrote: +> On Mon, 01 Sep 2014, Perttu Luukko wrote: +> > Yes, upgrading to GMime 2.6.20 caused all the messages on my server +> > classified as mail. +> +> What was the old version? If it was 2.4 we should probably consider +> dropping support for that in future notmuch. + +It was 2.4.33. It might still work for other people, I don't know. I +still have some ignored mails. If I can nail down why they are ignored +we might now more about why GMime 2.4 ignored even more mail. They were +from around the same time period, so it might have something to do with +the email setup I had at that time. + +> > Even more reason to give a separate warning for GMime parse errors. +> +> Not sure. We only get a binary success/fail from GMime, and that gets +> printed for all non-email files. I'm not sure it's helpful. + +What I mean that there would be a separate error for cases "Does not +resemble an email message at all", i.e., some control file your mail +server happens to store in the mailbox, and "Looks like mail but we +can't parse it", i.e., better find out why it can't be parsed to avoid +potentially important messages going missing from the database. + +-- +Perttu -- 2.26.2