[Mailman-Users] changing defaults

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Thu Apr 1 06:04:18 CEST 1999


>>>>> "JR" == John Reekie <johnr at eecs.berkeley.edu> writes:

    JR> On a related subject, I need to write a script that creates a
    JR> set of mail lists, and then sets them up with different
    JR> configuration values. I have tried calling the 'admin.py'
    JR> script in Mailman.Cgi but cannot figure out how to run it. I
    JR> apologize for asking such a dumb (I know Python not...)
    JR> question, but how do I invoke these and what format would the
    JR> arguments be in?

    JR> Or is this the wrong way to do this? I would rather call
    JR> existing code if I can.

I wouldn't call the scripts in Mailman/Cgi since they're primarily
designed to be called from the wrapper script.  Instead, study the
code in the command line scripts in bin -- you'll have to know a bit
of Python to do this, but it shouldn't be hard to figure out.

-Barry





More information about the Mailman-Users mailing list