From 25a558423bc76ac627dc3ea38533b535f222f7ad Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 6 Dec 2015 17:22:21 +0100 Subject: [PATCH] add mailman-check --- mailman-check | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 mailman-check diff --git a/mailman-check b/mailman-check new file mode 100755 index 0000000..bc512d7 --- /dev/null +++ b/mailman-check @@ -0,0 +1,15 @@ +#!/bin/bash +set -e +## Usage: +## ./mailman-check +## Checks all the mailman lists for bad configuration, and prints further details if it finds one. + +cd /var/lib/mailman/lists +for list in *; do + config_list -i /dev/stdin "$list" <