Read mailing list config via CLI
I'm working on a feature to allow configuration of mailing lists using the REST API. The docs show how to do this: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/l...
But I'd like to be able to verify settings using the mailman command or Python shell; and surprisingly I can't find where in the docs it shows how you can read settings on a per-list basis. I'm fine with either option, but I've spent about an hour digging through source code and docs and I'm not finding it. Would someonebe so kind as to point out how I can inspect configuration on a list by list basis? TIA.
On 9/19/24 10:39, Andy Matthews wrote:
But I'd like to be able to verify settings using the mailman command or Python shell; and surprisingly I can't find where in the docs it shows how you can read settings on a per-list basis. I'm fine with either option, but I've spent about an hour digging through source code and docs and I'm not finding it. Would someonebe so kind as to point out how I can inspect configuration on a list by list basis? TIA.
There is no specific mailman
command (other than mailman shell
) to
display list settings. However I just created a simple script at
https://www.msapiro.net/scripts/list_attributes which will list all the
attributes of a given list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro wrote:
However I just created a simple script at https://www.msapiro.net/scripts/list_attributes which will list all the attributes of a given list.
Note that this script has been updated since I originally posted it. The latest version was posted on Sept 20, 2024 at 03:40 UTC. If you downloaded it before that, you should get it again.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Andy Matthews
-
Mark Sapiro