From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Sat Oct 24 21:24:15 -0400 2020 Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 0fd0661e (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Sat, 24 Oct 2020 18:24:07 -0700 (PDT) Message-ID: <2EB36B3964829070AB2180906C53FE36@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 From: ori@eigenstate.org In-Reply-To: <20201025010716.GA44800@wopr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: high-performance-based CSS database > 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.