[Mailman-Users] IT Works!!! but one last thing......
marc_news at valinux.com
Thu Nov 16 06:51:14 CET 2000
On Wed, Nov 15, 2000 at 09:10:29PM -0800, Chuq Von Rospach wrote:
> which is why when we redo this stuff, we have to set it up as a hierarchy
> of values. Sitewide values that can be overridden if you want, but if you
> leave the default, when you update the site value, it is rippled out to
That sounds good.
In the meantime, I use this:
chef:/var/local/mailman/bin/scripts$ more dumplistconfigs
if [ $# -ne 1 ]; then
echo "$0 destdir"
chown mailman $1
for i in *
echo "Dumping list $i in $1/$i"
~mailman/bin/config_list -o $1/$i $i
chef:/var/local/mailman/bin/scripts$ more reconfigalllistsfromdump
if [ $# -ne 2 ]; then
echo "$0 --IknowwhatImdoing /dir/to/get/all/configs/from"
echo "This will clobber all existing configs with the ones you provide"
echo "I hope you know what you're doing!"
if [ z"$1" != z--IknowwhatImdoing ]; then
echo "You obviously don't know what you're doing, so don't do it :-)"
for i in *
echo "Configuring list $i with values from $2/$i"
~mailman/bin/config_list -i $2/$i $i
I run the first script, cd to the config dump directory and do:
perl -p -i -e "s/option = .*/option = newvalue/"
After that, I run the second script
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f at merlins.org for PGP key
More information about the Mailman-Users