Page MenuHomePhabricator

Install mailman-api for internal use
Closed, DeclinedPublic

Description

An API for mailing lists exists, see http://mailman-api.readthedocs.org/en/stable/quickstart.html

This does not provide any authentication but provides limited access by IP.
It would be great to have this installed and accessible from a collection of machines.
Personally I would like to be able to access this data from the analytics cluster rather than screen scraping!

Event Timeline

Addshore created this task.Oct 22 2015, 3:50 PM
Addshore raised the priority of this task from to Needs Triage.
Addshore updated the task description. (Show Details)
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 22 2015, 3:50 PM
Addshore renamed this task from Internal mailman-api to Install mailman-api for internal use.Oct 22 2015, 3:51 PM
Addshore set Security to None.

What do you want to achieve by this? I've set this up on labs to look at it and currently it seems you can only list subscribers to lists, (un)sub an address and send emails to lists through the API. More clarify would be essential here.

Also a collection of machines is very very vague :) Specifically what machines? at the very least it would be fermium.

If it meets the intended usage, it has my general +1 as it seems to loop in well at least, configuration of IPs may be interesting but it seems fine from my perspective.

Is this part of the version of mailman we're using?
Does it provide access to data that's currently hidden such as the full list of lists? It sounds like it will let you subscribe/unsubscribe people without authentication as well?

It sounds like it will let you subscribe/unsubscribe people without authentication as well?

I may try and throw some PRs at it quickly / file some issues.

Is this part of the version of mailman we're using?

Yes. It is built for the 2.1.x branch and I have it working in labs [which is, finally, a production clone].

Does it provide access to data that's currently hidden such as the full list of lists? It sounds like it will let you subscribe/unsubscribe people without authentication as well?

Yes, it shows a complete list of all lists known to mailman regardless of their status in the listinfo global page.

Also yes, it does allow any email address to be subscribed and unsubscribed form a list regardless of whether said person owns the email or not. No approvals are sent, it is just done by mailman. This does bring up a slight concern with me know, one which while I knew of, thought approvals were necessary and not done straight away by the code.

Addshore triaged this task as Low priority.Oct 22 2015, 4:27 PM
JohnLewis changed the task status from Open to Stalled.Oct 22 2015, 10:33 PM
JohnLewis added a project: Upstream.
JohnLewis moved this task from Backlog to Reported Upstream on the Upstream board.
Addshore closed this task as Declined.Feb 28 2018, 12:48 PM

Going to mark this as declined, the hackey script that I put in place has been working for over 2 years.
Maybe one day we will get a newer version of mailman.