Re: [Mailman-Developers] "newlist" command and Mailman 3
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.
Clearly this RESTful HTTP interface must be secured in some way, and normally this would be by only allowing connection from localhost, but other methods could be used if you needed to communicate directly with the core from a different server.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Sun, Sep 9, 2012 at 10:23 AM, Mark Sapiro mark@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
participants (2)
-
Mark Sapiro
-
Tom Browder