X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..281421ea90e9b895aa36bb4ece52ebc323d5cca5:/roles/email/files/mailman-check?ds=sidebyside diff --git a/roles/email/files/mailman-check b/roles/email/files/mailman-check index 595b28c..09d2d00 100755 --- a/roles/email/files/mailman-check +++ b/roles/email/files/mailman-check @@ -4,17 +4,17 @@ set -e ## ./mailman-check ## Checks all the mailman lists for bad configuration, and prints further details if it finds one. -if ! test -d /var/lib/mailman; then - # nothing to do - exit 0 -fi - -cd /var/lib/mailman/lists -for list in *; do - /usr/sbin/config_list -i /dev/stdin "$list" <