[Mailman-Developers] "newlist" command and Mailman 3

Mark Sapiro mark at msapiro.net
Sun Sep 9 17:23:36 CEST 2012


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 at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Developers mailing list