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 139.178.80.0/21 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B0B241F4BE for ; Thu, 24 Oct 2024 17:28:03 +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=Py/T0abl; dkim-atps=neutral Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 088695C4A6E; Thu, 24 Oct 2024 17:21:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D6AFC4CEC7; Thu, 24 Oct 2024 17:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729790483; bh=JZyXLgc6DjoPrCaKr6yVKgbYUsg/+sAfNtigsXnUP5o=; h=Date:From:To:Subject:From; b=Py/T0abl0nT3utg5iI8s9hrMh83upi6cP47b9ZKE18lA3y/mqfcw5PeIs7Yy39Mlg 9b7/JJScxROEwINjrNG4mu35ivVrpq1tmF/M6q8HrBBpgY4WQEnvPFW81R1LCrh8H0 qJ0xK3lJTWofBI0N2HJ5vnR8xflhhVx3QpUBnKmY= Date: Thu, 24 Oct 2024 13:21:22 -0400 From: Konstantin Ryabitsev To: meta@public-inbox.org Subject: RFE: public-inbox-learn should skip inboxes it cannot write to Message-ID: <20241024-nimble-honest-stallion-dad849@lemur> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline List-Id: Good day! Our main aggregator system has inboxes from various sources -- some received via email locally, some mirrored from other locations and owned by a different user. They are all mentioned in the same config file, since they are all replicated to frontends. While trying to purge some trolling messages from the archives today using "public-inbox-learn --all rm", I've discovered that public-inbox-learn will crash if it's unable to modify an inbox (because it's owned by a different user "mirror"). Preferably, it would just skip the inboxes to which it doesn't have write access instead of crashing. -K