[Mailman-Developers] MM3: Content filter rules
Adam McGreggor
adam-mailman at amyl.org.uk
Tue Mar 3 19:46:23 CET 2009
On Mon, Mar 02, 2009 at 03:51:51PM -0500, Barry Warsaw wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
> >"Reject,
> >Discard, Allow, Forward to Admins" or something similar (read-in
> >mailcap
> >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.
Ah-ha ;)
> >It would be grand (IMO) to have a Reject message using something like:
> >(auto-generated) "$LISTNAME doesn't accept $MIMETYPE" plus, perhaps
> >the
> >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.
I'd not thought about that, but presumably, that's something that can be
addressed via the standard "stanza-in-a-po-file" method?
I've not got any multi-lingual lists running (yet), and am a bit in the
dark here (although, i rejoined the users/devs lists over an i18n
issue, oddly enough)
> >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.
Fair point that, yes. Perhaps not in a listing per the current set-up,
but perhaps some sort of 'advanced/more' settings giving the options? I
dunno. I could see DB hackery becoming quite messy (particularly if
allowing given email addresses different settings for different lists)
More information about the Mailman-Developers
mailing list