Skip to content

sfindeisen/mailman3-utils

Repository files navigation

GNU Mailman3 utils

Lightweight utilities for common tasks.

create_list.py and update_list.py will apply their own, opinionated set of settings to the list (see apply_list_settings function in common.py). The rest of this code is generic.

This implementation is a thin wrapper around Mailman Client.

How to run

First, extract admin_pass for your site from the configuration file and set MAILMAN_REST_API_PASS environment variable. For example:

$ grep admin_pass /etc/mailman3/mailman.cfg
$ export MAILMAN_REST_API_PASS=xxx

Then run the scripts:

$ list_domains.py
lists.a.com
lists.b.com
lists.c.com
$ list_lists.py
thislist@lists.a.com
thatlist@lists.b.com
testlist@lists.b.com

About

Lightweight utilities for common GNU Mailman3 tasks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages