From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Status: No, score=-2.7 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.1 Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) (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 467171F517 for ; Tue, 12 Jun 2018 11:31:10 +0000 (UTC) Received: by mail-wr0-f170.google.com with SMTP id w7-v6so23698831wrn.6 for ; Tue, 12 Jun 2018 04:31:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=zQSk9O5u5RbMw7FZnpb0CRzRSTbdoUZwPH48RHXNCeQ=; b=VaYVZjPOh059zXUlfhaa0cnOk7/u2nWm7zO/zkkaOEMwPfR06P963N4zppWuqFJZ3o B9Y+kyadtZZoBN/5GIgaofpSf9Sc7zJT6WixQjjkbNlL0uGXvl9Qkg2aGb9Tj6/LPYUO Nzl4O2LXksHGaPdpLil0bnfEPWyUIXuXTuBYbh56noVvJcuiPC4HrrVuJ5iarcY8A0ql zwxtF5OigiOBdB0Bn2dk8cIgKuniD0V3txsTcsktaHtiCBTq2S4fULLfKYE32pXftZbc 57BSm6oryW8sdyoDjW/YQa8vw8564RdI7Joy3+k3X/Pw2aJ9a/SGAql0E6HVNMFANgxV C39A== X-Gm-Message-State: APt69E0oO7j9tvK+4Zh8eOyHroZ8lbIJ1MDYhX/KgM92p8+k24WRh2vy ES1YSc/wzuw2/WBTJtmQqZMSoA== X-Google-Smtp-Source: ADUXVKIHImmMHSEeivl7E40xAJy+izkCT4jqXa9uQyblBLl++NQ8LFAEyMT+0SlSpAKaDehnc0P2Nw== X-Received: by 2002:adf:e881:: with SMTP id d1-v6mr2491936wrm.43.1528803068428; Tue, 12 Jun 2018 04:31:08 -0700 (PDT) Received: from juno.home.vuxu.org ([2001:4ca0:0:f224:a288:b4ff:fea1:ce50]) by smtp.gmail.com with ESMTPSA id a15-v6sm681207wrs.26.2018.06.12.04.31.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 04:31:07 -0700 (PDT) Received: from localhost (juno.home.vuxu.org [local]) by juno.home.vuxu.org (OpenSMTPD) with ESMTPA id fe43174a; Tue, 12 Jun 2018 11:31:07 +0000 (UTC) From: Leah Neukirchen To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Some points on public-inbox References: <871sdfzy80.fsf@gmail.com> <20180612100915.shfo3ltn6aj55mrf@dcvr> Date: Tue, 12 Jun 2018 13:31:06 +0200 In-Reply-To: <20180612100915.shfo3ltn6aj55mrf@dcvr> (Eric Wong's message of "Tue, 12 Jun 2018 10:09:15 +0000") Message-ID: <8736xsb5s5.fsf@vuxu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: Eric Wong writes: > Leah Neukirchen wrote: >> Hi, >> >> over the last few days I've set up a public-inbox 1.1.0pre1 instance, >> and noticed some things: > > Hey Leah, thanks for giving it a try! Sorry for the late reply, > been trying to avoid being at the computer too much for health > reasons. No problem, get well soon. >> 1) Makefile.PL only works properly when run from a checkout, not a tarball. >> I replaced the beginning with >> >> my @EXE_FILES = split("\n", `printf '%s\n' script/* 2>/dev/null`); >> my $PM_FILES = `find lib 2>/dev/null`; > > Thanks, I'd probably add "-name '*.pm'" to find(1) to filter out > directories. But I wonder if it's better to grep the MANIFEST > file... Yes, using MANIFEST is a better solution. >> 2) public-inbox-mda returns with status 1 when it gets a mail it >> doesn't know where to deliver to. I think status 67 would be more >> appropriate (EX_NOUSER). > > Sure. There's a bunch of places where we just die() and ignore > sysexits.h or similar. Could use some help checking for that > and patches are welcome :> I'll have a look at this. >> 3) IPv6 support needs the Socket6 module, this is not stated anywhere. > > Oops, I thought this was standard :x Care to send a patch to > INSTALL for that? Will do. >> 5) Is there a way for the HTML view to list all served lists? > > Not currently... I'm not sure how the UI or configuration > should be or how to avoid clutter/scalability problems with many > inboxes. NNTP has standardized commands and clients can decide > how to show them, at least. Yes, I was thinking of just having a list of "name - description", straight from the config file? >> / results in 404. How did you add links to meta/ and test/ on >> https://public-inbox.org/ ? > > mkdir /srv/public-inbox/{meta,test} # static directory listing I built something similar with nginx now. >> and use /etc/aliases to route the lists that are hosted primarily on >> the server to it. What's the best approach to do this for mailing >> lists I only mirror? Subscribe with a "secret" second address to the >> list, and add this second adress to publicinbox..address? >> Or can public-inbox-mda also scan for List-Id etc and sort by it somehow? > > I prefer to use public-inbox-watch for mirroring existing lists. > > -mda is also a bit strict and opinionated (though I have plans to > make it less so, optionally), so it's mainly for non-mirrored > inboxes. > > -watch is also safer and less likely to lose/bounce mail since > it hits a Maildir, first. -watch will scan for List-Id (or any > other header, such as X-Mailing-List) and put it into the > correct inbox. If space is a problem, a cronjob to remove > old files will help, but maybe it can unlink-on-import-commit > in the future. Space is not an issue, and scanning for special headers will avoid getting password reminders and administrative messages into the archive. I'll use watch then. During testing, we also found another thing when obscure characters are used in Message-IDs, esp. / and ?. E.g. using a Message-ID of will create a corrupt link. Some more "ideas" are at https://inbox.vuxu.org/pi-test/ Thanks, -- Leah Neukirchen http://leah.zone