[Mailman-Developers] "newlist" command and Mailman 3
Tom Browder
tom.browder at gmail.com
Sun Sep 9 19:27:52 CEST 2012
On Sun, Sep 9, 2012 at 10:23 AM, Mark Sapiro <mark at msapiro.net> wrote:
> Tom Browder wrote:
>>
>>I use "newlist" in a Perl wrapper to programmatically start and delete
>>mailing lists, and I would like to be able to do more
>>programmatically, such as:
>>
>> add moderators
>> set default variables
>> etc.
>>
>>Is there any work being done in that direction?
>
>
> The architecture of Mailman 3 is such that communication with the core
> is via a RESTful HTTP interface. The web UI for example is separate
> from the core and communicates with the core via this interface.
> Thus, you can build your own interface for communicating with the core
> and exercising any core functionality without changing the core itself.
Okay, great!
> Clearly this RESTful HTTP interface must be secured in some way, and
> normally this would be by only allowing connection from localhost, but
Right, that's what I do currently. I develop the script locally, send
the script to the remote, server, ssh there and run the script as
root.
Thanks, Mark.
Best,
-Tom
More information about the Mailman-Developers
mailing list