[Mailman-Users] virtual hosting tactic

Marc MERLIN marc_news at valinux.com
Tue Jul 31 07:31:59 CEST 2001

On Fri, Jun 15, 2001 at 05:56:59PM -0700, alex wetmore wrote:
> This does bring up a question that another admin asked me.  Is there a
> way that the site administrator can remove permission from list
> administrators from changing some of the fields?  For instance I would
> like to have a site policy that requires that Reply-To is never set to
> the list.
That's what I use:
(Not perfect, but good enough)

chef:/var/local/mailman/bin/scripts# cat resetlistconfigs 

cd ~mailman/lists/
for i in *
    ~mailman/bin/config_list -o - $i | tail +3  > /var/tmp/tmp_mm_settings.before
    ~mailman/bin/config_list -i ~mailman/bin/scripts/mailman_force_settings $i
    ~mailman/bin/config_list -o - $i | tail +3  > /var/tmp/tmp_mm_settings.after

    if ! diff -q /var/tmp/tmp_mm_settings.before /var/tmp/tmp_mm_settings.after &>/dev/null; then
        echo "Fixing config of list $i"
        diff -u0 /var/tmp/tmp_mm_settings.before /var/tmp/tmp_mm_settings.after
chef:/var/local/mailman/bin/scripts# cat mailman_force_settings 
reply_goes_to_list = 0
host_name = 'lists.valinux.com'
web_page_url = 'https://lists.valinux.com/lists/'
bounce_processing = 1
automatic_bounce_action = 3
clobber_date = 1

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 mailing list