From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ADDBF3858C3A; Sun, 9 Jul 2023 14:10:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADDBF3858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688911803; bh=um5ltHUuf2qJob6dp9X4BbNcuv5e0OdRKE8QnWOp90g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WOjEGjmnGcqQePSr8WGofS35CJl5mXe44jU2dkJGq8+BJ6rfB3NK5Ewf5c2LO4qfG YbGFc6FIJgl7LA7e6MdcY1rci5KInRTuF9otbuzZVaHgxwS+r3uPesSNq3EgjmSl+S dDCPe992eURZL/tr6jxgRRzKDA++RFdtKLnxuP70= From: "mark at klomp dot org" To: overseers@sourceware.org Subject: [Bug Infrastructure/30436] inbox: strip HTML attachements Date: Sun, 09 Jul 2023 14:10:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: sourceware X-Bugzilla-Component: Infrastructure X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: overseers at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30436 --- Comment #3 from Mark Wielaard --- Created attachment 14957 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14957&action=3Ded= it remove_redundant_html_parts.pl filter Trying to use the milter interface might be tricky. But the actual functionality required from mimedefang can be easily extracted. The attached remove_redundant_html_parts.pl script acts as a filter that takes as input = an email and either outputs that original email or the email with redundant ht= ml parts removed. This could be used as filter to public-inbox-mda --=20 You are receiving this mail because: You are the assignee for the bug.=