user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: meta@public-inbox.org
Subject: Re: About header filtering
Date: Wed, 23 Dec 2020 12:57:29 -0500	[thread overview]
Message-ID: <20201223175729.mcd3zfq6sc4wae66@chatter.i7.local> (raw)
In-Reply-To: <20201222222118.i4bioeo7l6iuf3pk@pengutronix.de>

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

On Tue, Dec 22, 2020 at 11:21:18PM +0100, Uwe Kleine-König wrote:
> > 2. the goal of lore.kernel.org is maximum transparency, so we include
> >    everything that our own systems add to the headers in an attempt to show
> >    that "there's nothing up our sleeves"
> > 
> > > I could handcraft a preprocessor[2] but I assume that a solution in
> > > public-inbox itself would find some users?!
> > 
> > I don't know if this should be part of public-inbox -- a simple procmail
> > script would work. I know procmail isn't very actively developed these days,
> > but it's also extremely robust and handles almost anything you can throw at
> > it, which is an important advantage when it comes to a format like email.
> 
> Procmail doesn't help here (unless I miss something). Well, it allows to
> call a filter, but doesn't filter itself. Currently I experiment with
> formail (which is called by procmail) but formail cannot throw away
> selected Received lines only.

Right, that's what I meant -- you pipe through procmail to define any
additional filtering to be done based on match logic (whether with formail or
with any other command written for this purpose).

BTW, my hope is that, eventually, we'll stop doing archiving on our own and
will merely mirror public-inbox archives made available by actual
mailing list providers. I know vger folks have been looking at this, but I'm
not sure where this fits in their priorities. This will accomplish the same
thing -- SMTP headers will end at the mailing list host.

-K

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      parent reply	other threads:[~2020-12-23 17:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-22  7:37 About header filtering Uwe Kleine-König
2020-12-22 16:28 ` Konstantin Ryabitsev
2020-12-22 22:21   ` Uwe Kleine-König
2020-12-22 23:11     ` Eric Wong
2020-12-23 17:57     ` Konstantin Ryabitsev [this message]

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

  List information: https://public-inbox.org/README

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

  git send-email \
    --in-reply-to=20201223175729.mcd3zfq6sc4wae66@chatter.i7.local \
    --to=konstantin@linuxfoundation.org \
    --cc=meta@public-inbox.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

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).