[Mailman-Developers] Moderation flag change via script

Barry Warsaw barry at python.org
Sat Dec 13 17:53:57 EST 2003


On Fri, 2003-12-05 at 13:04, Greg Harris wrote:

> I am writing this to the devel group since the general list said it was not
> highly technical.  I am currently running mailman-2.1.2 from a RedHat 7.3
> RPM, on RedHat 7.3 with Postfix 2.1.
> 
> I am creating scripts to automatically create umbrella lists from other
> lists using sync_members.  However, I need a way to unset the moderation
> flag for users for some imported lists, and leave it at moderated for other
> lists.  The problem I am having, is that I see no way to change the
> moderation flag of a user from the command line on a particular list.  I
> don't really care if I need to run a separate script after the sync_members
> or not, just that I am able to set the flag from some sort of script.

There currently isn't a script to do this, but it probably wouldn't be
too hard to write if you knew a little Python.  You could either write
it as a full-fledged command line script, or as a bin/withlist
scriptlet.

Contributions are welcome!
-Barry





More information about the Mailman-Developers mailing list