
On 11/30/06, Dominika Tkaczyk <d.tkaczyk@uw.edu.pl> wrote:
I would like my mailing list to have the following configuration: the messages from most of subscribers are rejected, and there are a few subscribers whose messages are hold for moderation. Is there any way to do so without changing the source code? Or maybe there are already some patches? Unfortunately, it looks like, since Moderate.py comes before anything else, there's no really 'correct' way to do this.
One option that ought to work, however, would be the following: Moderate all users that you want rejected, and set member_moderation_action to reject. Unmoderate the users you want held. Add a header filter rule that matches on everything (something like a single caret ('^') should suffice), and is set to Hold. I haven't tested this, and I don't know if it will work or not.
This does seem like something that should be implemented in a more reasonable manner, though, possibly with the addition of a 'default_member_action,' separate from moderation?
My second question is: does Mailman use any email authorization or it simply checks the From: header of messages? Mailman only checks the From header, but it also looks for a special 'Approved' header. To use this feature, include an 'Approved:' header containing the list password (e.g., Approved: foobar), or include it as the first line of the message. Note that the latter is a bit dependent on how the message is constructed, so if your email client handles HTML email weird, and you use that, it's possible that mailman might miss the header. The handling should be pretty good, though, and text-only emails should be pretty much foolproof.
--
- Patrick Bogen