public inbox for
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <>
Subject: [Bug Infrastructure/30436] inbox: strip HTML attachements
Date: Sat, 01 Jul 2023 22:04:54 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
With mimedefang we could use the following simple mimedefang-filter:

# -*- Perl -*-
sub filter_end {
    my($entity) = @_;
# DO NOT delete the next line, or Perl will complain.

But it isn't clear to me how/if we can use the milter setup to only filter
messages sent to the inbox user, or how to integrate it into the inbox .forward
filter /home/inbox/

Running directly by hand seems to work, but then we need another
wrapper to setup the COMMANDS and interpret the RESULTS as described in
mimedefang-protocol. Maybe such a wrapper already exists?

You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2023-07-01 22:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09 21:55 [Bug Infrastructure/30436] New: " mark at klomp dot org
2023-06-23 14:22 ` [Bug Infrastructure/30436] " mark at klomp dot org
2023-07-01 22:04 ` mark at klomp dot org [this message]
2023-07-09 14:10 ` mark at klomp dot org
2023-07-09 19:06 ` mark at klomp dot org
2023-07-10  9:08 ` mark at klomp dot org

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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 read-only IMAP folder(s) and NNTP newsgroup(s).