diff options
author | Jonas Smedegaard <dr@jones.dk> | 2003-03-05 02:10:16 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2003-03-05 02:10:16 +0000 |
commit | 203f1eba0a9f5f10102ab260d03c265d864c8d6e (patch) | |
tree | ceb6ef2308dca59d147f8a5f3dd75887aa180328 /mailman | |
parent | 853a6e168d42aa573f20f796e3a95421ca99d983 (diff) |
Add dump script and configs for jones.dk.
Diffstat (limited to 'mailman')
-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 |