remove mailman-check
authorRalf Jung <post@ralfj.de>
Thu, 10 May 2018 22:36:05 +0000 (00:36 +0200)
committerRalf Jung <post@ralfj.de>
Thu, 10 May 2018 22:36:05 +0000 (00:36 +0200)
crontab
mailman-check [deleted file]

diff --git a/crontab b/crontab
index 8816beb492ac8e8b0f773a11569ab9493ad2a9db..552b14a46087bd2c9aee3084e5ce249e8d81f027 100644 (file)
--- a/crontab
+++ b/crontab
@@ -1,4 +1,3 @@
 # m h  dom mon dow   command
 32  7  *   *   *     /root/server-scripts/letsencrypt-tiny -c /root/letsencrypt/live.conf -k cron
 # m h  dom mon dow   command
 32  7  *   *   *     /root/server-scripts/letsencrypt-tiny -c /root/letsencrypt/live.conf -k cron
-16  8  *   *   *     /root/server-scripts/mailman-check
 10 17  *   *   *     /root/server-scripts/certcheck /etc/ssl/mycerts -d 14
 10 17  *   *   *     /root/server-scripts/certcheck /etc/ssl/mycerts -d 14
diff --git a/mailman-check b/mailman-check
deleted file mode 100755 (executable)
index 1b568be..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/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
-    /usr/sbin/config_list  -i /dev/stdin "$list" <<EOF
-if not ((mlist.dmarc_moderation_action in (1, 2) and mlist.dmarc_quarantine_moderation_action == 1) or mlist.from_is_list in (1, 2)):
-    print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"is not configured to deal with DMARC."
-if mlist.reply_goes_to_list != 0 and not mlist.first_strip_reply_to:
-    print "List",mlist.real_name,"by",(', '.join(mlist.owner)),"provides an inconsistent Reply-To treatment."
-EOF
-done