[Mailman-Users] Moderation issues

Mark Sapiro msapiro at value.net
Thu Mar 1 01:01:24 CET 2007

Bill Lempesis
>Non-member mail still goes directly to the list. What is the setting for
>Mail <-> News Gateways Moderation policy of the news group? If None all mail
>goes directly to the list. If Moderated, all are moderated including
>members. Am I missing something?

Mail from the News->Mail (i.e. from the newsgroup to the list) is
passed through without any membership or moderation checks on the
poster whatsoever.

If Mail<->News gateways -> news_moderation is set to Moderated, then
all mail from usenet to the list is held.

I.e. it is designed to work just as you observe. There is no way to
moderate/reject only those posts from usenet that are not From: a list

I think you can do what you seem to want by editing
Mailman/Handlers/Moderate.py and changing

def process(mlist, msg, msgdata):
    if msgdata.get('approved') or msgdata.get('fromusenet'):


def process(mlist, msg, msgdata):
    if msgdata.get('approved'):

and setting news_moderation to other than 'Moderated', however if you
do this and set generic_nonmember_action = Reject, you will send
reject notices to non-members whose posts were accepted by the
newsgroup which may be confusing.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list