4.48. How can I change the HTML (or .txt) templates used by my mailing lists?
From the web interface:
If you click on "Edit the public HTML pages and text files" under "Other Administrative Activities" on the upper right hand side of the logged in admin page, you can edit the following from the web interface:
- General list information page
- Subscribe results page
- User specific options page
- Welcome email text file
The direct link to this editing page will look something like http://EXAMPLE.COM/mailman/edithtml/LISTNAME where you replace the sections in caps with your web domain and listname, respectively.
From the server:
Richard Barrett has answered this question in two excellent messages on the mailman-users mailing list. See http://mail.python.org/pipermail/mailman-users/2004-June/037497.html and http://mail.python.org/pipermail/mailman-users/2004-June/037650.html.
Summarizing from these messages:
The archiver maintains a template cache, so if you create edited versions of any archive related templates, you need to restart Mailman to get the qrunner to restart so that it will rebuild its template cache and in the process pick up new or changed templates.
Non-archive related templates are not cached so any edits or new domain or list specific templates will be effective immediately without a restart.
Note that /bin/arch always starts with its own empty template cache each time it runs.
You should put your site and list specific changes as described in these comments form $prefix/Mailman/Utils.py:
In http://mail.python.org/pipermail/mailman-users/2004-October/040452.html, Mark Sapiro notes:
The monthly password reminder template is cronpass.txt, and it is sent without a list context so a list specific or domain specific version of this template will not work, even if the list is the site list.
Converted from the Mailman FAQ Wizard
This is one of many Frequently Asked Questions.