From 203f1eba0a9f5f10102ab260d03c265d864c8d6e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 5 Mar 2003 02:10:16 +0000 Subject: Add dump script and configs for jones.dk. --- mailman/dump-all-config.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 mailman/dump-all-config.sh (limited to 'mailman') 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 +# +# $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 -- cgit v1.2.3