Message of large size, only the "owner" of the list may authorize
Is there any easy way to get Mailman messages of large size, only the "owner" of the list may authorize? And only the smallest message "moderator" can approve them?
I'm really getting tired of dealing with those very large messages that are released by the moderator.
--
Fábio
At Mon, 1 Sep 2014 15:32:04 -0300 Fabio Eckhardt <fabioeckhardt@universo.univates.br> wrote:
Is there any easy way to get Mailman messages of large size, only the "owner" of the list may authorize? And only the smallest message "moderator" can approve them?
I'm really getting tired of dealing with those very large messages that are released by the moderator.
There isn't really a 'privilege separation' at that level. The solution is to talk to the moderator about not releasing very large messages and/or communication with the people posting very large messages or even both.
-- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
Fabio Eckhardt writes:
Is there any easy way to get Mailman messages of large size, only the "owner" of the list may authorize? And only the smallest message "moderator" can approve them?
I'm really getting tired of dealing with those very large messages that are released by the moderator.
If you know what the MIME type(s) or filename extension(s) of the offending attachments are, you can have Mailman remove them in the Content Filtering screen.
If you really want some but not all large messages to pass, I think you should get a better moderator, the list owner if necessary. Consider: the list owner is going to have to check regularly anyway. Unless your list gets an awful lot of spam, checking once a day only takes a few minutes, less than "dealing with those very large messages" that the moderator should never have released.
Steve
Steve,
I've been checking the forum on how to automatically reject messages size at this link:
*https://mail.python.org/pipermail/mailman-users/2007-October/058752.html <https://mail.python.org/pipermail/mailman-users/2007-October/058752.html>*
The function:
* if bodylen/1024.0 > mlist.max_message_size:
raise Errors.RejectMessage, Utils.wrap(
MessageTooBig(bodylen,
mlist.max_message_size).reason_notice())*
Only this class (function) only works for registered mail list, you would have to do to members not registered on the list?
And finally could be administrator or refer to the list owner's email rejected ?
some could help me?
Fábio
2014-09-02 12:30 GMT-03:00 Stephen J. Turnbull <stephen@xemacs.org>:
Fabio Eckhardt writes:
Is there any easy way to get Mailman messages of large size, only the "owner" of the list may authorize? And only the smallest message "moderator" can approve them?
I'm really getting tired of dealing with those very large messages that are released by the moderator.
If you know what the MIME type(s) or filename extension(s) of the offending attachments are, you can have Mailman remove them in the Content Filtering screen.
If you really want some but not all large messages to pass, I think you should get a better moderator, the list owner if necessary. Consider: the list owner is going to have to check regularly anyway. Unless your list gets an awful lot of spam, checking once a day only takes a few minutes, less than "dealing with those very large messages" that the moderator should never have released.
Steve
--
Fábio
On 09/04/2014 12:24 PM, Fabio Eckhardt wrote:
I've been checking the forum on how to automatically reject messages size at this link:
https://mail.python.org/pipermail/mailman-users/2007-October/058752.html
The function:
* if bodylen/1024.0 > mlist.max_message_size: raise Errors.RejectMessage, Utils.wrap( MessageTooBig(bodylen, mlist.max_message_size).reason_notice())*
Only this class (function) only works for registered mail list, you would have to do to members not registered on the list?
If you are saying that a member post that is too big will be rejected by the above, but a non-member post that is too big will be held as a post from a non-member, this is correct.
This occurs because miscellaneous holds such as "too big" are processed by the Hold handler but non-member actions are processed by the Moderate handler which comes first in the pipeline.
There's not much you can do about this. Reordering the pipeline to put Hold before Moderate is a bad idea because then other miscellaneous holds would take precedence over membership decisions.
You could change generic_nonmember_action to Reject, but this may be unwanted for other reasons.
Perhaps the best approach is to implement a custom handler to reject 'too big' posts and put it in the pipeline, maybe only this list's pipeline, ahead of Moderate. See the FAQ at <http://wiki.list.org/x/l4A9>.
And finally could be administrator or refer to the list owner's email rejected ?
I don't understand what you're asking? If you mean could the list owner be sent a notice of the rejected post, then yes, that could be coded too.
If you can specify exactly what you want to happen to "too big" posts from members, moderated members and non-members, I can help you with the actual code.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Fabio Eckhardt
-
Mark Sapiro
-
Robert Heller
-
Stephen J. Turnbull