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 54CF96DE0F56 for ; Thu, 7 Mar 2019 13:05:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.011 X-Spam-Level: X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[AWL=-0.010, 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 85_T7c--Bb-Y for ; Thu, 7 Mar 2019 13:05:25 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 2D4C46DE0B6D for ; Thu, 7 Mar 2019 13:05:25 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h20Ch-0001dh-Do; Thu, 07 Mar 2019 16:05:23 -0500 Received: (nullmailer pid 9312 invoked by uid 1000); Thu, 07 Mar 2019 21:05:22 -0000 From: David Bremner To: "Leo L. Schwab" , notmuch@notmuchmail.org Subject: Re: BUG: "notmuch insert" fails with "Delivery of non-mail file" In-Reply-To: <20190307065735.GA5876@ewhac.org> References: <201901181607.4rba4c5uyimv@alvherre.pgsql> <20190307065735.GA5876@ewhac.org> Date: Thu, 07 Mar 2019 17:05:22 -0400 Message-ID: <8736nyfl9p.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: Thu, 07 Mar 2019 21:05:26 -0000 "Leo L. Schwab" writes: > As a result, I've been thinking how this might be addressed. The > thought I've had is to create a new option to motmuch-insert that > essentially means, "Skip all validation, just index and deliver." In other > words, the input is presumed to have already been validated by an external > entity, so assume it's good and index and deliver it. '--keep' effectively > does this already, but it quashes *all* errors. I just want to skip the > validator. If you move your database out of the way and run notmuch-new, are the messages delivered by your modified notmuch-insert? I think that's a property I'd require for anything we were going to carry upstream. Also, I'm not sure about turning off _all_ validation vs. just not checking for mboxes. d