public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: "Frank Ch. Eigler" <fche@elastic.org>
Cc: Overseers mailing list <overseers@sourceware.org>,
	Simon Marchi <simon.marchi@polymtl.ca>
Subject: Re: inbox.sourceware.org experiment
Date: Thu, 18 Aug 2022 15:50:54 +0200	[thread overview]
Message-ID: <Yv5DvkMnDvS7wdIW@wildebeest.org> (raw)
In-Reply-To: <Yv1etC4DBs+v6RD1@elastic.org>

Hi Frank,

On Wed, Aug 17, 2022 at 05:33:40PM -0400, Frank Ch. Eigler wrote:
> > [...]
> > > Yes, understood that the extra indexing can do extra searches.  My
> > > question was about utility/need for this.
> > 
> > The use seems obvious to me for anybody using the web based archives
> > to generate tailored message/mbox results, specifically date ranged
> > searches seem pretty mandatory since otherwise you essentially just
> > need to keep clicking, next, next, next.
> 
> I was under the impression that your main interest in p-i was the easy
> addressability and availability of raw emails, for use such as with
> git-am.  Are there other users pining for this kind of thing?

I am not sure that is my main interest in public-inbox, but yes, I do
really like public-inbox because it allows tools like b4 (which I have
already tested against our instance) and piem (not tested yet) to
easily pick up and apply patch emails.
https://git.kernel.org/pub/scm/utils/b4/b4.git/tree/README.rst
https://docs.kyleam.com/piem/

I think others will also use those (or similar) tools. But I primarily
expect users to use the public-inbox archives as a way to access the
mailinglists without having to subscribe, but still be able to easily
get the actual (raw) messages (either through git, atom, mbox, nntp or
imap) to follow the conversations. Which I think is the main
interesting thing public-inbox offers.

> > But also to get specific messages based on author or subject. On
> > specific use case for public-inbox is to not have to be subscribed
> > to a list to read it [...]
> 
> You are expecting people to use the xapian query language for this
> stuff?  Mailman offers that style of click-click browsing already.

Not just users, but also tools, yes. And not for clicking through the
archive, but to generate tailored sets of messages they are interested
in. IMHO the public-inbox archives are a lot more usable than the
mailman style archives.

> > [...]
> > So this is before mailman sees the message, so we do need to do a
> > spam-check.
> 
> No, postfix already spam checks everything upon receipt, before delivery.

OK, but mailman still also blocks some messages which I have to
approve/deny as list admin (this only happens once or twice a month,
so maybe that is just spam we have to tolerate?)

> > And I think postfix sets ORIGINAL_RECIPIENT already, we just need to
> > make sure it is one of the addresses for a list in the config.
> 
> This shouldn't be something that we need to write code to do, if it needs
> to be done at all.

OK. Assuming the process runs as the inbox user it will pick up the
/home/inbox/.public-inbox/config file which should have all
information.

> > But what generates /etc/mailman/aliases itself?  Can we hook into that
> > to trigger generation of this aliases-inbox file? Otherwise if we add
> > a new mailman list it won't work.
> 
> It must be some mailman administrative script.  Just crontab another
> one.

Under which account should this crontab run? mailman doesn't seem to
have any crontabs at the moment.

> > And do we need to update/regenerate
> > /etc/aliases.db and/or /etc/mailman/aliases.db ?
> 
> The proposal is to not touch /etc/aliases* NOR /etc/mailman/aliases*.
> The proposal is to generate a new file like
> /etc/postfix/mailman-inbox-aliases from /etc/mailman/aliases.  That
> new file would be the one postfix would read.  It could be texthash:
> rather than hash: so postmap would not even be necessary for updates.
> That depends on whether the relevant alias-expansion postfix process
> is short- or long-lived.

OK, I see the following in /etc/postfix.main:

# CGF 2020-03-08 12:49
alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases

# CGF 2020-03-18 14:10 EST - newaliases wasn't affecting /etc/mailman/aliases
alias_database = hash:/etc/aliases, hash:/etc/mailman/aliases

So I assume calling newaliases regenerates the hash/.db files.

I can write a script to generate mailman-inbox-aliases this weekend
when I have stable internet access again. Will post to the list before
installing to make sure I don't accidentially break something.

Cheers,

Mark

  reply	other threads:[~2022-08-18 13:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-13 14:14 Mark Wielaard
2022-08-15 13:00 ` Mark Wielaard
2022-08-16 21:36 ` Mark Wielaard
2022-08-16 22:10   ` Frank Ch. Eigler
2022-08-17 12:25     ` Mark Wielaard
2022-08-17 13:24       ` Frank Ch. Eigler
2022-08-17 21:18         ` Mark Wielaard
2022-08-17 21:33           ` Frank Ch. Eigler
2022-08-18 13:50             ` Mark Wielaard [this message]
2022-08-18 14:40               ` Simon Marchi
2022-08-21 17:41                 ` Mark Wielaard
2022-08-23 20:15                   ` Mark Wielaard
2022-08-23 22:08               ` Mark Wielaard
2022-08-24 10:05                 ` Mark Wielaard
2022-08-24 21:06                   ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yv5DvkMnDvS7wdIW@wildebeest.org \
    --to=mark@klomp.org \
    --cc=fche@elastic.org \
    --cc=overseers@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).