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 EBC4D6DE1057 for ; Thu, 18 Apr 2019 06:29:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.026 X-Spam-Level: X-Spam-Status: No, score=-0.026 tagged_above=-999 required=5 tests=[AWL=-0.025, 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 iuGY3H56g_EZ for ; Thu, 18 Apr 2019 06:29:34 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id DEF316DE0ED6 for ; Thu, 18 Apr 2019 06:29:33 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1hH76Y-0001r8-CG; Thu, 18 Apr 2019 09:29:30 -0400 Received: (nullmailer pid 12844 invoked by uid 1000); Thu, 18 Apr 2019 13:29:28 -0000 From: David Bremner To: Ralph Seichter , notmuch@notmuchmail.org Subject: Re: Unexpected output of "notmuch new --quiet" In-Reply-To: <87y3471ml9.fsf@ra.horus-it.com> References: <87imvc5pvg.fsf@ra.horus-it.com> <87bm14gqib.fsf@tethera.net> <87y3471ml9.fsf@ra.horus-it.com> Date: Thu, 18 Apr 2019 10:29:28 -0300 Message-ID: <87d0ljfnlz.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, 18 Apr 2019 13:29:36 -0000 Ralph Seichter writes: > * David Bremner: > >> I could imagine more levels of quiet, but I don't know if it is worth >> the trouble. > > I currently redirect stderr to /dev/null because the actual number of > these "ignoring non-mail file" notices is much higher, but that means I > don't get to see actual errors which is quite a disadvantage. > Unfortunately its not very easy for notmuch to distinguish between different kinds of parsing failures (at least, not easy to do so quickly). The recommended solution for things like dovecot index files is to set to set "new.ignore" (see notmuch-config(1)). > An option like --veryquiet or --errorsonly would be helpful, but I can > understand you asking if it would be worth the effort. For somebody like > me who uses Dovecot as a backend it would be. ;-) I guess if you have a simple way of distinguishing the cases which you want to consider as errrors, we can revisit the idea.