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: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from mail-it1-x12c.google.com (mail-it1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0CB3A1F454 for ; Wed, 26 Sep 2018 20:56:23 +0000 (UTC) Received: by mail-it1-x12c.google.com with SMTP id h23-v6so4820844ita.5 for ; Wed, 26 Sep 2018 13:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Ny5lmmSwu9CkTiDho2dHe4AzLJuDTXqh+vY0Nvfin7o=; b=HYrDCy0zV1oYKhJKc8VqvupN+9NscHyvt/GJFNVzE00P9yRFNmyp/k1dzCkn6v01pA GdgETFZ1SURSQaTFGKlClY3M3/PPZ5pteaQFdCeFwojx++arPiy4KnhwaufgEzNnZepy lZmRHIecXk+mr8nmy6ev1uE72KNzVQ2az/YIs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Ny5lmmSwu9CkTiDho2dHe4AzLJuDTXqh+vY0Nvfin7o=; b=eIZMDO6LPEqP23b/jSEoWnYnYzXFcg0bk4FnbB1gztychetZqwCxm56nqM1lryN4NH xMAnuI0B4DQ8jSZYhWgylD81wNMjBM1oqhY1ogrCaLppsY4aP0rbVFdROqV7igdCi9pz V3VWbbkbxaGkvrs+B+FrFAroD69z2pKj069VdxIJWcDunmjgoirEutQIrQ5sRREBxyAb z8zlNlX/STqPD9hduBcFmNtZohbkqVDn+H0tbUPe6NLDA1TBYAifG6f21UjvmBbqT763 Yj+Cgnz4UShttReq1lRjy6tbjVSrqgdKPVaCtifcQYLFRxbKt/+r38o7FQieW1dBksK7 Ollg== X-Gm-Message-State: ABuFfoiQrThklHFKKiWGsSXiHCNOtAPPt6L1uuTJgSkfaBOfL/OvGFSu +6qw3Pr8fx30xY7w0wtTvzJpnAEyPVJDoA== X-Google-Smtp-Source: ACcGV62x93N/MUb7mwyZSkJj//kPpdHtImprZWw46kf6tDQiQvNSMYsXVXGo3qaev+F3Bbe5ngZAOg== X-Received: by 2002:a24:4486:: with SMTP id o128-v6mr6924637ita.23.1537995381668; Wed, 26 Sep 2018 13:56:21 -0700 (PDT) Received: from chatter ([199.66.90.209]) by smtp.gmail.com with ESMTPSA id x188-v6sm222249ite.3.2018.09.26.13.56.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 13:56:21 -0700 (PDT) Date: Wed, 26 Sep 2018 16:57:00 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Stripping multipart/alternative HTML parts instead of rejecting Message-ID: <20180926205700.GA11506@chatter> References: <20180925171657.GA2950@chatter> <20180926194705.oofeug5fxtiiqdwe@dcvr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20180926194705.oofeug5fxtiiqdwe@dcvr> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 26, 2018 at 07:47:05PM +0000, Eric Wong wrote: >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 =3D PublicInbox::Filter::Mirror" >which doesn't do any modifications at all: > >[publicinbox "foo"] > filter =3D PublicInbox::Filter::Mirror > ... Thanks, Eric, I'll poke at that. >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. How do messages with a HTML part get displayed in the web view? Does it=20 get offered as a download, or ignored completely? -K --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQR2vl2yUnHhSB5njDW2xBzjVmSZbAUCW6vynAAKCRC2xBzjVmSZ bIAZAQCar/lMYcxfW6cqhCoJ2nsp7Lilt7gXBYKWKa66aD7bvwD9EM84vr1mi2Ub JjiB8RuUoGGBzee8x6pGAbyc30MzmQI= =ONfe -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--