[Mailman-Users] Automated moderation

Mark Sapiro mark at msapiro.net
Thu Feb 21 22:20:54 CET 2008


Richard Smits wrote:
>
>Also right, but we have to make a script to make the helpdesk manage a
>"list or textfile" with addresses wich can mail to a list. Some people
>are member of such a list, and some aren't.. so we have 2 places in the
>system where we have to work.
>---------
>Accept from non members (non member)
>Moderation flag (member)
>---------
>this is possible, but I was wondering if it's possible to have 1 place
>for such addresses.


No. There is not one place where you can list members and non-members
alike who are allowed to post, but you could make a withlist script
which depending on your need could do something like:

Set all members moderated.

Clear accept_these_nonmembers.

Read the file of posters addresses.

For each posters address, if it is a list member, set it unmoderated,
  else add it to accept_these_nonmembers.

There are examples of withlist scripts in 'bin/withlist --help' and
several more at <http://www.msapiro.net/scripts/> (mirrored at
<http://fog.ccsf.cc.ca.us/~msapiro/scripts/> and
<http://veenet.value.net/~msapiro/scripts/>). In fact, my scripts page
already includes a stand alone script that can be used to maintain the
*_these_nonmembers lists and a withlist script for maintaining
moderation flags.

I'm sure you could hack something out of these to do what you want.

-- 
Mark Sapiro <mark at msapiro.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