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 49BF76DE0EE7 for ; Wed, 17 Apr 2019 16:29:23 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.025 X-Spam-Level: X-Spam-Status: No, score=-0.025 tagged_above=-999 required=5 tests=[AWL=-0.024, 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 F2QqzUfRMflz for ; Wed, 17 Apr 2019 16:29:22 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 1182E6DE0EE3 for ; Wed, 17 Apr 2019 16:29:21 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1hGtzS-0007R8-EF; Wed, 17 Apr 2019 19:29:18 -0400 Received: (nullmailer pid 15549 invoked by uid 1000); Wed, 17 Apr 2019 23:29:16 -0000 From: David Bremner To: Ralph Seichter , notmuch@notmuchmail.org Subject: Re: Unexpected output of "notmuch new --quiet" In-Reply-To: <87imvc5pvg.fsf@ra.horus-it.com> References: <87imvc5pvg.fsf@ra.horus-it.com> Date: Wed, 17 Apr 2019 20:29:16 -0300 Message-ID: <87bm14gqib.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: Wed, 17 Apr 2019 23:29:23 -0000 Ralph Seichter writes: > Hi folks, > > I can't help but wonder why text like > > Note: Ignoring non-mail file: /home/foo/.maildir/.private/dovecot-uidlist > Note: Ignoring non-mail file: /home/foo/.maildir/.work/dovecot.index.log > 0022 > > is written when I run "notmuch new --quiet"? > > Only error conditions should be reported to stderr, so why are lines 1 > and 2 written to stderr? Notes are not errors. They could quite reasonably be retitled 'Warning' since they sometimes indicate a disagreement between notmuch and the MDA as to how mail files should be formatted on disk). Your case just happens to be on the harmless end. I could imagine more levels of quiet, but I don't know if it is worth the trouble. > Also, why is line #3, which represents the current umask value, > written to stdout? I can duplicate that here. Could it maybe a wrapper script or hook invoked by notmuch new?