From e235f4a227520836e852dfd5b53c45874c95415c Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 3 Sep 2014 19:03:40 +0300 Subject: [PATCH] Re: How to debug 'ignoring non-mail file' issues --- 46/5c3e40fdfd31f523e9f0d9e6df1d6e3fb60382 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 46/5c3e40fdfd31f523e9f0d9e6df1d6e3fb60382 diff --git a/46/5c3e40fdfd31f523e9f0d9e6df1d6e3fb60382 b/46/5c3e40fdfd31f523e9f0d9e6df1d6e3fb60382 new file mode 100644 index 000000000..7cbaf2c63 --- /dev/null +++ b/46/5c3e40fdfd31f523e9f0d9e6df1d6e3fb60382 @@ -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 5E66C431FB6 + for ; Wed, 3 Sep 2014 09:03:56 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 yB1m07Dpsbo0 for ; + Wed, 3 Sep 2014 09:03:48 -0700 (PDT) +Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com + [209.85.212.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id D2986431FAF + for ; Wed, 3 Sep 2014 09:03:47 -0700 (PDT) +Received: by mail-wi0-f174.google.com with SMTP id d1so1243738wiv.1 + for ; Wed, 03 Sep 2014 09:03:45 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:in-reply-to:references + :user-agent:date:message-id:mime-version:content-type; + bh=lZy1wCqCtkBnuEl0wL73Pd+5IpB9yq82G4ktD1HC1lM=; + b=bhU/4rFcUlN1UOMKNge5MM0Sz2KlIGiEsN635NhMNalOqIM4jDVx83BjuCq3rZVNI1 + V3Tzizvp/6RQsXDseA0yzdtTfN0d1B9biCnXeypruZwtbuQ5i3MS3h1G0ZPff9UlMiwn + sWi/8TUDgWaQr/y8v1S7m9cJMQS9sTNsCqVlu6jRd1izM/G6udv9ALFFznP2PmewAR7f + rYz7KKutcUsMTLym5gKPKJNKNDKBmigNaZbRz9tf7Raq0x/2ue6YaCHH2JBlrrz2pSoZ + /Cv8od7LTw/VBsgK7m1FricIkj6w4OipaBSMaXYuvmL2y7/0g/mLw7gkbuFSp5VREu+k + CZAA== +X-Gm-Message-State: + ALoCoQmf2cDTQjkw8KBcChjcLZvv1pF0720zAftPw1aAO3cfuF7nuvI5qfoPj6S4tWt+g03qbEFF +X-Received: by 10.194.118.232 with SMTP id kp8mr48308796wjb.42.1409760225389; + Wed, 03 Sep 2014 09:03:45 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw2-58c374-75.dhcp.inet.fi. + [88.195.116.75]) + by mx.google.com with ESMTPSA id lp1sm5440822wic.21.2014.09.03.09.03.44 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Wed, 03 Sep 2014 09:03:44 -0700 (PDT) +From: Jani Nikula +To: Perttu Luukko +Subject: Re: How to debug 'ignoring non-mail file' issues +In-Reply-To: <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> + <20140903045439.GA5022@rakuuna.dhcp.inet.fi> +User-Agent: Notmuch/0.18.1+65~g9f0f30f (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 03 Sep 2014 19:03:40 +0300 +Message-ID: <87oauwadyb.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: text/plain +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 16:03:56 -0000 + +On Wed, 03 Sep 2014, Perttu Luukko wrote: +> 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. + +As I said, GMime does not tell us the difference between the two. + +BR, +Jani. -- 2.26.2