[Mailman-Users] How to protect list archives?

Mark Sapiro msapiro at value.net
Sun Aug 19 06:38:42 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Waltham wrote:
> 
> I'll try searching the archives to see if there's a command to do  
> what I want, otherwise I could just input and output some config  
> files and run sed over them ;-)


You don't need to do anything that tricky. Just run

#! /bin/bash
file=`mktemp`
echo 'archive_private = 1' > $file
cd path/to/mailman
for list in `bin/list_lists --bare`
do bin/config_list -i $file $list
done
rm $file

to set every list's archive to private. bin/config_list -i doesn't
change anything that isn't in it's input file.

- --
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGx8lSVVuXXpU7hpMRAq7bAKDSTRgId9Rz0f0iug9iDyIclna8EgCfUReq
5GZpZ2d7RnmuJhgRBR8a/H0=
=R4Oo
-----END PGP SIGNATURE-----


More information about the Mailman-Users mailing list