From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS54825 145.40.73.0/24 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 85AB21F452 for ; Sat, 16 Dec 2023 16:16:06 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=IV5fkf7F; dkim-atps=neutral Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id C512ACE021A; Sat, 16 Dec 2023 16:16:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AD6AC433C7; Sat, 16 Dec 2023 16:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702743362; bh=F/8n9rqDF42lxx5CDVaVUgogvXUdrwGKlFLJP7tjdEY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IV5fkf7F6a+DbH0vonF+aH2cSbIR1WIzO5/aUBr6ugmEtF36QtGkaqAUjE4POljjY 15y0dkDmFYkYapUtcBL3KM6Xz45thk9Tt6o7yYIFsIhkq8aMS1N+WGTBDYonVTwBPb ZEuGmf8q62h0Aeyyn5tlmNMJIXrh+XLFudoSdqpY= Date: Sat, 16 Dec 2023 11:15:57 -0500 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: [PATCH] lei: support reading MH for convert+import+index Message-ID: <20231216-strange-hamster-of-research-e7a7ea@lemur> References: <20231216130932.479628-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231216130932.479628-1-e@80x24.org> List-Id: On Sat, Dec 16, 2023 at 01:09:32PM +0000, Eric Wong wrote: > The MH format is widely-supported and used by various MUAs such > as mutt and sylpheed, and a MH-like format is used by mlmmj for > archives, as well. Locking implementations for writes are > inconsistent, so this commit doesn't support writes, yet. Nice, so eventually we should be able to specify the following instead of faking out a maildir? watch=mh:/var/spool/mlmmj/list.name/archive > inotify|EVFILT_VNODE watches aren't supported, yet, either. In the case of mlmmj it's sufficient to watch the /var/spool/mlmmj/list.name/index file for updates, but I don't know how well this lends itself to other implementations (I am not at all familiar with MH). -K