All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mads Martin Joergensen <mmj@mmj.dk>
To: mlmmj@mlmmj.org
Subject: Re: feature request: DIR/mimereject
Date: Thu, 04 Nov 2004 18:25:54 +0000	[thread overview]
Message-ID: <20041104182554.GD23670@mmj.dk> (raw)
In-Reply-To: <20041104170533.GK10927@mail.lieber.org>

* Kurt Lieber <klieber@gentoo.org> [Nov 04. 2004 18:05]:
> I didn't see this feature listed on the mlmmj page -- apologies if it
> already exists.
> 
> That said, one thing we *really* need is the DIR/mimereject feature of
> ezmlm. (might be an ezmlm-idx specific feature, come to think of it) This
> feature scans list messages prior to sending them and rejects messages with
> pre-defined attachment types.  "application/octet-stream" is the one we
> block on most of our lists as those attachments are generally
> worms/viruses.
> 
> I'd *like* to have a global option that allowed me to say, "for any/all
> lists on this machine, reject messages with the following MIME types".  IF
> that's more difficult, then I'm content with at least being able to do it
> on a list-by-list basis.  Another option would be some sort of /etc/skel
> type functionality, but that's a separate feature request, so I'm going to
> send that in a separate email.

How about using the functionality already there? Here's a snippet from
README.access (tar-ball and http://mlmmj.mmj.dk/files/README.access):

 A third example. Deny any mails with "discount", "weightloss", or
 "bonus" in the subject. Allow PGP signed and plain text mails. Anything
 else is denied:

 deny ^Subject:.*discount
 deny ^Subject:.*weightloss
 deny ^Subject:.*bonus
 allow ^Content-Type: multipart/signed
 allow ^Content-Type: text/plain

That should make it possible to do what you want no? And for the global
reject file, just make one access file in a central place and symlink it
everywhere.

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.

  reply	other threads:[~2004-11-04 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 17:05 feature request: DIR/mimereject Kurt Lieber
2004-11-04 18:25 ` Mads Martin Joergensen [this message]
2004-11-04 18:53 ` Mads Martin Joergensen
2004-11-05  9:17 ` Morten K. Poulsen
2004-11-05 11:35 ` Kurt Lieber
2004-11-05 11:49 ` Morten K. Poulsen
2004-11-05 12:32 ` Mads Martin Joergensen
2004-11-05 19:44 ` morten

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=20041104182554.GD23670@mmj.dk \
    --to=mmj@mmj.dk \
    --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.