[Mailman-Users] Adding disclaimer to message footer via command line
msapiro at value.net
Sun Jan 21 17:34:46 CET 2007
Leon Kolchinsky wrote:
>Our management decided to add disclaimer to every footer in Digest and
>I know that this is a bad netiquette but I have no choice.
>I have a lot of mailinglists running on my server and I though that may be
>there is a way to do this addition with some script via command line and add
>this to all lists, and save from myself doing it via web-interface enormous
You can do this fairly easily in two ways. One is with a bin/withlist
script and the other is by running bin/config_list via a shell script.
Several examples of withlist scripts (not this exact one) can be found
at <http://veenet.value.net/~msapiro/scripts/> or
The shell script method is described at
With the shell method, the input to config_list (configfile in the FAQ)
msg_footer="""First line of footer
digest_footer="""First line of footer
You also want the set DEFAULT_MSG_FOOTER in mm_cfg.py (if you haven't
changed DEFAULT_DIGEST_FOOTER, you don't need to now as it defaults to
DEFAULT_MSG_FOOTER) so the footer is set for new lists.
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users