aboutsummaryrefslogtreecommitdiff
path: root/README.rst
blob: 5005af57837624dd02eb0c4a2eb428a17bd1dcba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
mm3mod: Command line list moderation for mailman3
=================================================

Installation
------------

Install with your favourite python package manager (not so well
tested), or just copy ``mm3mod/__install_.py`` to a nicer name in your
path and run it as a script.

Configuration
-------------

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

.. code-block:: ini
   
   [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.