blob: b3b5062a0b574541b1ac54c7492fcd1c9f6ed83f (
plain)
- #!/bin/sh
- #
- # /etc/mailman/dump-all-config.sh
- # Copyright 2003 Jonas Smedegaard <dr@jones.dk>
- #
- # $Id: dump-all-config.sh,v 1.2 2004-02-16 11:21:37 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
- /usr/lib/mailman/bin/list_members --fullnames --preserve -o $list.members $list
- done
- else
- echo "This script requires Mailman 2.1"
- fi
|