blob: 826abd4cd1909f6e5a5dff6f6ffee8fefadf8867 (
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 --regular -o $list.members $list
- /usr/lib/mailman/bin/list_members --fullnames --preserve --digest -o $list.members-digest $list
- done
- else
- echo "This script requires Mailman 2.1"
- fi
|