aboutsummaryrefslogtreecommitdiff

mm3mod: Command line list moderation for mailman3

Prerequisites

You need a working mailman3 install, and python modules mailmanclient and cmd2.

Installation

To try it out, you can just clone it and run

python3 mm3mod/__init___.py

To do things the pythonic way

python3 -m pip install git+https://git.tethera.net/mm3mod.git

Configuration

Create $XDG_CONFIG_DIR/mm3mod/config.ine with at least

[rest]
password=<your REST admin password>

[list]
name=<fqdn>

The password is output by mailman info or mailmain-wrapper info

Use

Run

$ mm3mod

This will put you in a loop that

  1. Prints the first page of held messages
  2. Allows you to accept or discard by request-id, or to discard the whole page.

Other useful commands include quit and help

Tab completion is available for commands and request-ids.