From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8PQ1EspAEmKjcQAAgWs5BA (envelope-from ) for ; Sun, 20 Feb 2022 14:23:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KLexD8pAEmJghgEA9RJhRA (envelope-from ) for ; Sun, 20 Feb 2022 14:23:22 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 021CE3457B for ; Sun, 20 Feb 2022 14:23:22 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id CD0B75E022; Sun, 20 Feb 2022 13:23:19 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 6EE3A5E00C for ; Sun, 20 Feb 2022 13:23:17 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 9A57C5FBD7; Sun, 20 Feb 2022 08:23:16 -0500 (EST) Received: (nullmailer pid 1323348 invoked by uid 1000); Sun, 20 Feb 2022 13:23:14 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: allow disabling the check for multi-message mboxes In-Reply-To: <20220205195215.166213-1-david@tethera.net> References: <20220205195215.166213-1-david@tethera.net> Date: Sun, 20 Feb 2022 09:23:14 -0400 Message-ID: <87v8x9pt8d.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: W62LGUBQAPIEZUIYR4NXLJ5QLLHCL6XG X-Message-ID-Hash: W62LGUBQAPIEZUIYR4NXLJ5QLLHCL6XG X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645363402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=BeihXyw51bc5STFUG578ZUwgF/1K7VTOL6bYafdI7j4=; b=XYEGVpEX606or3lCv+NcBDOKnChgmCUWiNDgsHUqNjuFID7uO+QJ/LXjEwrp0ChDxzdWJH QoxeuqF+qyel0B1vpHU/sgWkcDBauEF+hN0KST1wUC6bMsUONVgOeEdNeSxsWGhHD18vPi ZWt6krtlhUJY8gpR1VSeJ7HTpA6ieLU5AuIsd/aMnIadBAefzNVrCHfh1s5bE511DVI0+0 38pqNCwnAiB/5yg430UQTbfIwFtYS7/6F/KyoWahdYyvOaTk3cjboVd6iyiZeDhuEqthZW 6iICNbreowdIYCzXlPWKkuYtvpO+uiy1SSEZLQxNaOvY2lLoWHKriUpRLqciUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645363402; a=rsa-sha256; cv=none; b=kT/Pu5aLyHE8T/Kvrun4NKveNxKKMGP+QrKTHzSE8sFEtGldq8HFlTAD95tUBwUHsLeyu/ RZ0un3uTSi1T/Dd/Xwe2R5jBIG7TvemD80BjGDh0EH6E1xujaCkNDjVr1IvSR0Q3ubTJof Gca4FmwfNdtZo3aQpj6+hbzsTPmd9mBn83mUgQXg7EQZcssFQjoduvzfMyjxtfKZdgOqV1 d4nWx7rnaqt7VfWbL6fntlRsD9yoYEe7xA1LfmJe5LNdj4p85PvlXzZo8+GgT1q9C/C1ry NaGzdgnNQB+okOJha4nq/O4uTdgFhc/UY1xcLMNDvIe9qfA8JlvXpZtLMo30GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 021CE3457B X-Spam-Score: -2.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: CeGr7xn0auk9 David Bremner writes: > Notmuch tries to prevent users from shooting themselves in the foot by > indexing mboxes containing multiple messages. On the other hand some > MTAs (notably common configurations of postfix) like to deliver mail > to file the looks like mboxes. This can occasionaly cause problems > where notmuch thinks a file is an mbox, but it really isn't (see patch > 2/6). This series makes the corresponding check optional, while > defaulting to preserving the current behaviour. The series I just applied fixes the problem that motivated me to write this series. On the other hand, that is specific to delivery via notmuch-insert. For the moment I going to continue to wait for feedback on this series.