All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] stripping HTML and attachments
Date: Wed, 29 Sep 2010 06:38:36 +0000	[thread overview]
Message-ID: <4CA2DEEC.2080801@yahoo.com.au> (raw)
In-Reply-To: <AANLkTi=KdahgYbnTd2oqH-qvondgrr4CG=kdnVrS_77e@mail.gmail.com>

Mlmmj doesn't directly support content filtering such as this, nor does it yet 
have any dedicated way to 'plug in' an external content filter.

However, by piping the mail through a filter before it reaches Mlmmj, this kind of 
thing can be done. Have a look at this:

http://mlmmj.org/archive/mlmmj/2010-01/1635.html

The patch made it into the 1.2.17.1 Mlmmj tarball, so you can easily download it 
if you want to give it a try. It uses altermime to add a footer. I believe 
altermime can also be used to do other MIME-related tasks such as stripping 
html/attachments, so you can probably modify the script slightly to get it to do 
what you want. If you manage it, please write back and let us know how you did it!

(Someone else may yet have a different/better solution, so perhaps it's worth 
waiting a while before trying.)

Smiles,

Ben.



On 29/09/10 12:17 AM, Florian Effenberger wrote:
> Hi,
>
> is there an easy way of stripping HTML and attachments from incoming posts?
>
> Thanks,
> Florian
>
>
>



  reply	other threads:[~2010-09-29  6:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28 14:17 [mlmmj] stripping HTML and attachments Florian Effenberger
2010-09-29  6:38 ` Ben Schmidt [this message]
2010-09-30 14:29 ` Florian Effenberger

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=4CA2DEEC.2080801@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.