9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: khm@sciops.net, 9front@9front.org
Subject: Re: [9front] upas/fs: header ignores
Date: Sat, 24 Oct 2020 18:24:05 -0700	[thread overview]
Message-ID: <2EB36B3964829070AB2180906C53FE36@eigenstate.org> (raw)
In-Reply-To: <20201025010716.GA44800@wopr>

> On Sat, Oct 24, 2020 at 05:50:51PM -0700, ori@eigenstate.org wrote:
>> - Add /mail/lib/filterheaders, which has
>>   a new syntax: lines default to keep, but
>>   '!' can be used to drop a header:
>> - Add defaults.
> 
> Not criticism, just curiosity:  why hardcode the defaults instead of
> just shipping them in /mail/lib/filterheaders?

Mainly, I want new users to have less files in there.
I find the current contents of /mail/lib overwhelming,
and having things Just Work with as few configs as
possible is a good thing, in my mind.

As a side effect, it keeps existing configs working.
Sysupdate won't touch /mail/lib to create the
filterheader file automatically.

> Also I haven't looked at this code, but is it possible to e.g. show
> List-Unsubscribe (useful for commercial mail) but drop the other List-
> headers?
> 
> khm

Yep:

	List-Unsubscribe:
	!List-

will match the list-unsubscribe header and accept it, then match
all other List- headers and reject them.



  reply	other threads:[~2020-10-25  1:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-25  0:50 ori
2020-10-25  1:07 ` [9front] " Kurt H Maier
2020-10-25  1:24   ` ori [this message]
2020-10-25  2:21   ` Lyndon Nerenberg
2020-10-25  2:43 ` Kurt H Maier
2020-10-25 11:00 ` kvik

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=2EB36B3964829070AB2180906C53FE36@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    --cc=khm@sciops.net \
    /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 NNTP newsgroup(s).