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 E828C6DE11A0 for ; Fri, 19 Apr 2019 15:16:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.409 X-Spam-Level: X-Spam-Status: No, score=0.409 tagged_above=-999 required=5 tests=[AWL=-0.493, DATE_IN_PAST_06_12=1.103, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 mLgbyuJujHeP for ; Fri, 19 Apr 2019 15:16:57 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id A3BD06DE114E for ; Fri, 19 Apr 2019 15:16:57 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1555712216; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=dvpbbWBr6/AjoQugeS2mXpByOlI80X7RGIug2AEP1VA=; b=Z3mMEGJg6WGADXiN/2Cc1HiyH1apU4s8lNp7rw4zIcPu8yo1+EKjSB60 KEyYXCSBP3oH/cjBEkWVn15sTHepBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1555712216; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=dvpbbWBr6/AjoQugeS2mXpByOlI80X7RGIug2AEP1VA=; b=cz7IA3FsJP1UkTBEdUW/9FMLqwV2LpWXLY/LXYwHcrhNESad4ne/sO// rxNUmjCJ/8Hwdh0JvEaqjFOdvNIxeFMNuX0tUWqhvgiSOqSufwxzfCO39f 0A3NR+5kka6TxoPCRoF1hJrzky0mVTZpDsd56G/w5NXiur3stJ3RONxhOH kr10i3IHvKGCjOM1fb/No8A6GkN9+p2Ir/apC1CF+vAdgXX/2ZbDW0OYIj 1Z/BmALxlgVPJcKRaJku2sZmUnDxbJ/XQl8jsBWkrzPJNF70xGNn+h+ldB KU/PndsUpHhYd71pTmB8LlbURdAziMlipAsJhtcmcU5OeAtcHqJO9Q== Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id EB669F99F; Fri, 19 Apr 2019 18:16:53 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id E743520299; Fri, 19 Apr 2019 12:02:24 -0400 (EDT) From: Daniel Kahn Gillmor To: Ralph Seichter , notmuch@notmuchmail.org Subject: Re: Unexpected output of "notmuch new --quiet" In-Reply-To: <87a7gmdrqo.fsf@ra.horus-it.com> References: <87imvc5pvg.fsf@ra.horus-it.com> <87bm14gqib.fsf@tethera.net> <87y3471ml9.fsf@ra.horus-it.com> <87d0ljfnlz.fsf@tethera.net> <87ftqfctf0.fsf@ra.horus-it.com> <87zhomxyrg.fsf@fifthhorseman.net> <87a7gmdrqo.fsf@ra.horus-it.com> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxXbAMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJcQr+dAhsMBQkB4TOAAAoJEPIGkReQOOXGe/cBAPlek5d9xzcXUn/D kY6jKmxe26CTws3ZkbK6Aa5Ey/qKAP0VuPQSCRxA7RKfcB/XrEphfUFkraL06Xn/xGwJ+D0hCw== Date: Fri, 19 Apr 2019 12:02:24 -0400 Message-ID: <87ftqex9tb.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Fri, 19 Apr 2019 22:16:59 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri 2019-04-19 15:55:27 +0200, Ralph Seichter wrote: > * Daniel Kahn Gillmor: > >> Why is "non-mail file found" in my maildir such a low priority? > > Because I do not agree with Notmuch's notion of what a non-mail file > is. All files the Dovecot server uses for its own metadata are placed > outside of "cur", "new", and "tmp". > > My understanding of the Maildir structure is that only these three > subfolders in a given directory may contain mail files, so I expect > Notmuch, as a default behaviour, to ignore whatever is stored outside > of these subfolders. Hm, notmuch supports trees of maildirs as well, and nested maildirs, none of which are part of the maildir spec aiui. Also, as far as maildir goes, i think notmuch probably *shouldn't* be looking at stuff in =E2=80=A6/tmp/ -- right? otherwise it's liable to occasionally access some half-written files. I've personally done the (maybe bad) thing where i just drop a folder full of RFC5322 .eml files anywhere inside my message store and run "notmuch new" to ingest them. I'd be sad if those files went away, but perhaps you're right that we should only be looking at are things within any cur/ and new/ subfolders within the message archive. That'd be an easy fix if there was no deployed base to worry about. Any thoughts about how to make such a transition safe for existing users like me? --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXLnxEAAKCRB2GBllKa5f +Jz/APiBkxQH0bf3NMwKedSw3xU1KPdl0LA6wc4XgXhWSwIvAQDPPn9oZGqlD/Hr iaZi+aLl0yU3fU0ag6sqdrrMRLxiAg== =NYIm -----END PGP SIGNATURE----- --=-=-=--