LANG=en_US.UTF-8 mkdir -p /var/backups/mailman for list in `/usr/lib/mailman/bin/list_lists --bare`; do /usr/lib/mailman/bin/config_list -o /var/backups/mailman/$list.py $list /usr/lib/mailman/bin/list_members --fullnames --preserve --regular -o /var/backups/mailman/$list.members $list /usr/lib/mailman/bin/list_members --fullnames --preserve --digest -o /var/backups/mailman/$list.members-digest $list done