Hi,
Background: I have a painful mailman3 installation based on ubuntu 18.04 packages, a mistake I regret but have to live with until I can finish a fresh install of the latest. Currently running on mailman 3.1.1-9 and python-django-mailman3 version 1.1.0-4 (if that matters).
I migrated > 1200 lists from an old mailman2 installation. That brought along all of the footers (naturally), and now I'm trying to get rid of them but failing miserably. I've spent a fair bit of time reading archives of this list, but I'm still stuck.
Here's what's configured...
In /etc/mailman3/mailman.cfg:
var_dir: /var/lib/mailman3 # Root directory for site-specific template override files. template_dir: $var_dir/templates
In that directory, list-specific directories like:
/var/lib/mailman3/templates/lists/list.mydomain/
and, as an example, en/list_member_digest_footer.txt
For the migrated lists, that might have:
$display_name mailing list -- $listname To unsubscribe send an email to ${short_listname}-leave@${domain}
Based on what I've read elsewhere, my first attempt was to create an empty file doing 'cp /dev/null list_member_digest_footer.txt' to replace the one installed in migration. That had no effect. As a shot-in-the-dark, I did 'cp /dev/null list:member:regular:footer.txt' to see if that might have some effect. Nope.
I suppose some decision is made earlier in the process to tack on the footer, so these files I'm manipulating have zero effect.
Anyone have suggestions of what I can do?
Thanks in advance.
David
On 7/27/21 4:06 AM, David Partain via Mailman-users wrote:
I migrated > 1200 lists from an old mailman2 installation. That brought along all of the footers (naturally), and now I'm trying to get rid of them but failing miserably. I've spent a fair bit of time reading archives of this list, but I'm still stuck.
Here's what's configured...
In /etc/mailman3/mailman.cfg:
var_dir: /var/lib/mailman3 # Root directory for site-specific template override files. template_dir: $var_dir/templates
...
Anyone have suggestions of what I can do?
rm -rf /var/lib/mailman3/templates/lists/*
This will allow the template search to fall back to the default. If you want to customize that, you can put custom templates in /var/lib/mailman3/templates/site/en/.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
David Partain
-
Mark Sapiro