From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qN04D5jZAmIQ9wAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 21:59:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cID9B5jZAmIitQAAG6o9tA (envelope-from ) for ; Tue, 08 Feb 2022 21:59:04 +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 907B738B4D for ; Tue, 8 Feb 2022 21:59:03 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 252A05F6C9; Tue, 8 Feb 2022 20:59:01 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id B9E9D5F5EB for ; Tue, 8 Feb 2022 20:58:58 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id EDFF25FBD2; Tue, 8 Feb 2022 15:58:57 -0500 (EST) Received: (nullmailer pid 302157 invoked by uid 1000); Tue, 08 Feb 2022 20:58:45 -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: Tue, 08 Feb 2022 16:58:45 -0400 Message-ID: <877da513ei.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: Q2F65NVZQSK4NMI3XHKNQKA5VXBRWLEQ X-Message-ID-Hash: Q2F65NVZQSK4NMI3XHKNQKA5VXBRWLEQ 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=1644353943; 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=Er+eCMRjjH80T9GOLWgS1uz5NRMbpLwhMahKeCkDl10=; b=IxMteD41DpgDd3YUfSCvtPYG2jXSXvHM+Z/GeNh2/SB+WT3v2mIDWsL/tknlloiPGpZwN0 8auJBr/ogPI6L7r2e5U+H++XqqGEd96piY+VQc9bIharxqNCjMEerTYSNoXOr2dc6rT+IW Upcb8LgRy7R0COsNAP4w/jRYt1QOSMpPlI+94Cnrh0XrX2f5gMwxaPCVV2RnB78Qvi3287 Qegw/Ktbv6w5jJygl2SuTGmxTY9ai6mq3ZmqwehY3RQTte3XURimTVCrUoKVFFSyFWxsK1 GdlNLrhNF03/KvSM5Fmq1G6Gqp4QN8mZTUVKN9C249CTYFo+rGVSHxKdxxdwsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644353943; a=rsa-sha256; cv=none; b=mcJeYzryeJlr+DI2AB0KHbo4XJFFVSjQVQdDu9NV4RhmcjNTwbUAMMldpmShJFx6obKnjJ glSD7lMxUEeFiy7GlSNdjnSfnr/x4CkBtddZxkrCD9/4+rnA/9JbEj89fgHcYqKWlODiUU 119QcJO1WBBMAI0+0ae6IAFFSAxiJ/oGPUnBMpnlv3RMjUg730AIrVMl/wIASYjuua+IHy NJL9v68DF6+cZUNKhoUbitdOFG3IdUFKVmetD4UWsZrtsq09+3A1nkrxRHTmIvS7gX0G6B yZmRuPvX65NIwe7hcz45d3SbpLFd/TTMCPGNdRuLqCh3p5THXtSaM3iSQRph0A== 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.32 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: 907B738B4D X-Spam-Score: -2.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: dkPhQ5uW40mu 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. As a complementary approach, perhaps notmuch insert should escape the enveloper header so that notmuch does not deliver messages it cannot index. I guess the question is what other client software expects the files to start with "From " d