On 04/28/2015 08:25 AM, Selva Gaja wrote:
> Hi,
> 
> I can remove a mailman list from this terminal command > * rmlist -a
> listname*
> 
> Is there any API for removing the Mailman List.
> 


It depends what you mean by API. There is the command you show above,
and there are the underlying things that rmlist does, but I suspect you
want to know if there is a way to remove a list from Mailman's GUI.

If you set

OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes

in mm_cfg.py, every page in Mailman's admin GUI will have a "Delete this
mailing list (requires confirmation)" link under "Other Administrative
Activities". Without this setting, the link is not there and attempts to
remove a list via the http(s)://example.com/mailman/rmlist/LISTNAME CGI
will fail.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to