diff options
-rwxr-xr-x | mailman/dump-all-config.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mailman/dump-all-config.sh b/mailman/dump-all-config.sh new file mode 100755 index 0000000..009ef0c --- /dev/null +++ b/mailman/dump-all-config.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# +# /etc/mailman/dump-all-config.sh +# Copyright 2003 Jonas Smedegaard <dr@jones.dk> +# +# $Id: dump-all-config.sh,v 1.1 2003-03-05 02:10:16 jonas Exp $ +# +# Dump configurations of all local mailman mailinglists to the current +# directory. +# + +if [ -x /usr/lib/mailman/bin/list_lists -a -x /usr/lib/mailman/bin/config_list ]; then + for list in `/usr/lib/mailman/bin/list_lists --bare`; do + /usr/lib/mailman/bin/config_list -o $list.py $list + done +else + echo "This script requires Mailman 2.1" +fi |