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: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7DDC51F454; Wed, 26 Sep 2018 19:47:05 +0000 (UTC) Date: Wed, 26 Sep 2018 19:47:05 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: Stripping multipart/alternative HTML parts instead of rejecting Message-ID: <20180926194705.oofeug5fxtiiqdwe@dcvr> References: <20180925171657.GA2950@chatter> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180925171657.GA2950@chatter> List-Id: Konstantin Ryabitsev wrote: > Hi, all: > > We've started adding other kernel-related mailing lists to lore.kernel.org, > not all of them mailed via vger. This raised the issue of html-alternative > parts, which are allowed by other mailing list providers that are using > mailman. Such messages are currently rejected outright by public-inbox, but > I'm wondering if that is perhaps too strict when there are plaintext parts > available? I tried scrubbing undesirable parts when the project started, but it caused signature failures when replaying to mlmmj subscribers, so I started rejecting those mails instead. For pure mirrors, there is "filter = PublicInbox::Filter::Mirror" which doesn't do any modifications at all: [publicinbox "foo"] filter = PublicInbox::Filter::Mirror ... I mainly use it with -watch, but it should work with -mda (if PublicInbox::Filter::Vger does). But it should work better for NNTP readers who want to check GPG and DKIM sigs on the original message with HTML.