From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS20860 217.147.80.0/20 X-Spam-Status: No, score=-3.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lkcl.net (lkcl.net [217.147.94.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id F19921F619 for ; Wed, 11 Mar 2020 11:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; s=201607131; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version; bh=aMoN70kRicR5FW/2ega/qSd+oTobHQO4TpV7/QjQ3wg=; b=Sj5rKxKsi4mhGD15ZVydOlIkE2kHM4cF8bc8pDvCsWig6KiS4WUlfTBT1a0Ejx09b7KcaXdho3eM+xHCR4npirQwaqpOE21z/iNqWmLvhDvrmcquVXBX79z/QLbuvNuUsx4zZCBsq+jzOiaef7JVg+3DxZigbq2g8S5x0Iadhzg=; Received: from mail-lf1-f50.google.com ([209.85.167.50]) by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1jC00d-0003Kq-Fx for meta@public-inbox.org; Wed, 11 Mar 2020 11:58:47 +0000 Received: by mail-lf1-f50.google.com with SMTP id j15so1450358lfk.6 for ; Wed, 11 Mar 2020 04:58:31 -0700 (PDT) X-Gm-Message-State: ANhLgQ27MxnMCbz16ILPaPiLjrG3MC38zC+bIrJSHH5dDYrCh0orWmqH r5Z+LIrLAiWvZWk4oU57YFNYiVG27xq/x0jaGCs= X-Google-Smtp-Source: ADFU+vvayz5sfYk9DXXC5z1ItQ88ofeaUZ/QuCb1hDRL7CrnQXn6HQ0eA467JRh7KZAaUpCkHyzEzBvHVjImmL1FiOQ= X-Received: by 2002:ac2:5f06:: with SMTP id 6mr1914199lfq.67.1583927906492; Wed, 11 Mar 2020 04:58:26 -0700 (PDT) MIME-Version: 1.0 References: <20200204205541.GB27797@dcvr> <20200311103304.GA21129@dcvr> In-Reply-To: <20200311103304.GA21129@dcvr> From: Luke Kenneth Casson Leighton Date: Wed, 11 Mar 2020 11:58:15 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: setting up mailman2 and public-inbox To: Eric Wong Cc: meta@public-inbox.org Content-Type: text/plain; charset="UTF-8" List-Id: On Wed, Mar 11, 2020 at 10:33 AM Eric Wong wrote: > Add a regular subscriber that receives mail via normal Mailman > methods. > > Then setup public-inbox-watch to watch a Maildir that normal > subscriber receives mail in. The top of public-inbox-watch(1) > manpage should give a reasonably complete example. ahhh hurrah. > I use offlineimap for IMAP <-> Maildir sync, but mbsync works > just as well. There's other methods, of course. i like offlineimap. we've not got an imap server set up however (my experiences with cyrus2.2 and exim4 are well-documented and the source of much amusement) > There's absolutely no requirement for public-inbox to even run > on the same machine as mailman|exim. I run https://public-inbox.org/git/ > and do so using public-inbox-watch just as a regular subscriber > with no special access to kernel.org whatsoever. fortunately there are no local users on the server (at all) so playing with it, to get this set up does no "damage". > mbox is really only useful for one-shot imports and the > scripts/import_vger_from_mbox example script was recently > updated in git master to be more flexible. ok good to know. > > if we subscribe a local user on the server (inbox@libre-riscv.org) to > > the actual list, then configure that local account to have mail > > delivered Maildir format, would that do the trick? > > Exactly :) hurrah :) > I also suggest something to cleanup old messages, something > like: > > find /path/to/maildir -type f -ctime +14 -print0 | xargs -0 rm -f > > To delete all messages older than 14 days > > I'd like to eventually have an auto-deleter which verifies the > message is successfully imported into an inbox (and not rejected > as spam or triggered some other error). yeah that would be really clean. or, perhaps allow move the message to a "read" Maildir folder? thanks eric. l.