Poster of Linux kernelThe best gift for a Linux geek
CONFIG_LIST

CONFIG_LIST

Section: Maintenance Commands (8) Updated: 2001-03-10
Local index Up
 

NAME

config_list - Configure a Mailman list from a text file description

 

SYNOPSIS

config_list [options] listname

 

DESCRIPTION

This is a very powerful script which lets you view and modify a list's configuration variables from the command line. E.g. you can dump out all the list options into a plain text file (actually a valid Python file!), complete with comments explaining each variable. Or you can apply the configuration from such a file to a particular list.

 

OPTIONS

-i filename, --inputfile=filename
Configure the list by assigning each module-global variable in the file to an attribute on the list object, then saving the list. The named file is loaded with execfile() and must be legal Python code. Any variable that isn't already an attribute of the list object is ignored (a warning message is printed). See also the -c option.

A special variable named `mlist' is put into the globals during the execfile, which is bound to the actual MailList object. This lets you do all manner of bizarre thing to the list object, but BEWARE! Using this can severely (and possibly irreparably) damage your mailing list!

-o filename, --outputfile=filename
Instead of configuring the list, print out a list's configuration variables in a format suitable for input using this script. In this way, you can easily capture the configuration settings for a particular list and imprint those settings on another list. filename is the file to output the settings to. If filename is `-', standard out is used.

-c, --checkonly
The modified list is not actually changed. Only useful with -i.

-v, --verbose
Print the name of each attribute as it is being changed. Only useful with -i.

-h, --help
Print a small help text and exit

 

NOTES

The options -o and -i are mutually exclusive.

 

AUTHOR

Author of Mailman is the Mailman Cabal, see http://www.list.org/ for information. This manpage is written by Tollef Fog Heen <tfheen@debian.org> for Debian, but may be used by others.

 

SEE ALSO

Mailman documentation on http://www.list.org/ and in /usr/share/doc/mailman.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:01:27 GMT, April 16, 2011