[Mailman-Developers] MM3: Content filter rules
barry at list.org
Mon Mar 2 21:51:51 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
On Mar 2, 2009, at 12:39 PM, Adam McGreggor wrote:
> I'm wondering if it would make sense to use mailcap(5) -- either the
> system's, or MM user's should one exist, to generate a list of
> MIME-Types for Mailman, and nice tickboxes alongside to select
> Discard, Allow, Forward to Admins" or something similar (read-in
> on each load of the relevant part of the admin web-URI?/each execution
> of the command-line util?).
Python has a mailcap module, so that would make the most sense.
> It would be grand (IMO) to have a Reject message using something like:
> (auto-generated) "$LISTNAME doesn't accept $MIMETYPE" plus, perhaps
> opportunity to provide some more 'useful' information:
> "your mail client's broken",
> "HTML's for the web, not email",
> "we don't like MS Word",
> "stop using proprietry formats"
> or some other customizable message
This isn't an area I've addressed yet, but customizable messages
needs to be thought about, especially when multilingual rejection
messages are considered.
> Maybe I should draw what I'd like...
> Perhaps (shudder), allowing an over-ride to let *some* users use a
> specified content, whilst rejecting for others...
> Have I over-complicated things? Or am I barking mad?
I'm not sure per-user filters are feasible. I'm also not sure you
want to see 35 or more checkboxes on the whitelist/blacklist page.
That's how many entries are in mailcap.getcaps() on OS X.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
-----END PGP SIGNATURE-----
More information about the Mailman-Developers