From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2B3A46DE0E8C for ; Sun, 17 Nov 2019 05:31:03 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.06 X-Spam-Level: X-Spam-Status: No, score=-0.06 tagged_above=-999 required=5 tests=[AWL=-0.059, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s4yZeiUbgnlh for ; Sun, 17 Nov 2019 05:31:02 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 888E86DE0EC6 for ; Sun, 17 Nov 2019 05:31:02 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1iWKdk-0002TJ-Tj; Sun, 17 Nov 2019 08:30:56 -0500 Received: (nullmailer pid 2411 invoked by uid 1000); Sun, 17 Nov 2019 12:31:12 -0000 From: David Bremner To: Eirik Byrkjeflot Anonsen , Alvaro Herrera , Tomi Ollila Cc: notmuch@notmuchmail.org Subject: Re: notmuch ignoring alot of emails In-Reply-To: <87eey7szz6.fsf@eirikba.org> References: <20190701153657.GA9961@alvherre.pgsql> <87y2wfsorq.fsf@tethera.net> <87eey7szz6.fsf@eirikba.org> Date: Sun, 17 Nov 2019 07:31:12 -0500 Message-ID: <87v9rismzz.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Sun, 17 Nov 2019 13:31:03 -0000 Eirik Byrkjeflot Anonsen writes: > > Or, notmuch could just look at the first line of the file. If it starts > with "From ", it is an mbox. If it starts with a reasonable mail header, > it is not an mbox. If it is neither, fall back to the old heuristics. > FTR, this is what happens now (although iirc the actual check is done by GMime). So maybe I'm missing some context here.