Differences between revisions 1 and 2
Revision 1 as of 2008-05-27 13:26:18
Size: 1487
Editor: terri
Comment:
Revision 2 as of 2008-07-31 14:05:18
Size: 66
Editor: dunxd
Comment: Page renamed to DOC/4.38 How to change some configuration for ALL lists?
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/5603523
== 4.38. How to change some configuration for ALL lists? ==
Q: I am the site administrator and I'd like to change the configuration of ALL existing lists. How to do that?

A: Use /usr/lib/mailman/bin/config_list

Here's an example:

{{{
 1. Login your shell
 2. Create a file (/path/to/configfile) and add your configuration *)
 3. Change the configuration using this shell script:
     for i in $(/usr/lib/mailman/bin/list_lists -b) ; do /usr/lib/mailman/bin/config_list -i /path/to/configfile $i ; done
}}}

If you only want to change some lists but not all, replace the

{{{
 for i in $(/usr/lib/mailman/bin/list_lists -b)
}}}

in the above script with for example

{{{
 for i in list1 list2 list3
}}}

To check for errors before doing the changes, you can simulate your changes using the -c flag. see:

{{{
 config_list --help
}}}


                                                                                   * *) Annotations for configfile:
 * Only use lower case directives!
 * Use 0 or 1 for boolean variables
 * You can add as few or as many directives as you like
 * To get an example of a list's configuration, type

{{{
 /usr/lib/mailman/bin/config_list -o - [list_name]
}}}

''Last changed on Sun Jan 21 17:25:22 2007 by'' Mark Sapiro
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
#REDIRECT DOC/4.38 How to change some configuration for ALL lists?

MailmanWiki: DOC/How to change some configuration for ALL lists? (last edited 2008-07-31 14:05:18 by dunxd)