Create new mailinglist from Java programm
Hello everybody,
I have a question about the possible interfaces from mailman. We want to connect our software written in java with our existing mailman server. To be precisely, we want to create new mailing list with our java program.
So we need some kind of interface to access the mailman. When it's possible, we don't want to start a Process p = Runtime.getRuntime().exec to run the commandline tool from mailman, because in that case we need a separate ssh tunnel through our firewalls to our mailman server.
In the Wiki I read about the new REST interface http://wiki.list.org/display/DEV/REST+Interface. Is it already available or in development. If not, is it possible to send a suitable POST request to the webinterface from mailman to create new mailinglist?
Thanks for your help,
Kind regards,
Tobias Faulstich
Tobias Faulstich wrote:
In the Wiki I read about the new REST interface http://wiki.list.org/display/DEV/REST+Interface. Is it already available or in development. If not, is it possible to send a suitable POST request to the webinterface from mailman to create new mailinglist?
No. The REST interface is in Mailman 3 which is not production ready yet.
Just look at the http://www.example.com/mailman/create (adjusted for your installation) page and POST the same things it does.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Tobias Faulstich