Templates and docker-mailman
I have mailman installed through docker-mailman and I'm trying to get rid of the footer decoration in our messages. Based on earlier threads, I have placed an empty file on the host running Docker at:
/opt/mailman/core/var/templates/site/en/list:member:generic:footer
But this is not being honored by the mailman container. I have restarted all of the containers. Is there something else I need to do?
On 03/20/2018 02:13 PM, jwhathaway@locklaw.com wrote:
/opt/mailman/core/var/templates/site/en/list:member:generic:footer
But this is not being honored by the mailman container. I have restarted all of the containers. Is there something else I need to do?
That's only one place the template is looked for. The search is first list, then domain then site.
So the search will be first in /opt/mailman/core/var/templates/list/<list-id>/en/ followed by /opt/mailman/core/var/templates/domains/<domain>/en/ followed by /opt/mailman/core/var/templates/site/en/
and the first list:member:regular:footer or list:member:generic:footer found is what will be used for regular deliveries and the first list:member:digest:footer or list:member:generic:footer found is what will be used for digest deliveries.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Tue, Mar 20, 2018, at 2:47 PM, Mark Sapiro wrote:
On 03/20/2018 02:13 PM, jwhathaway@locklaw.com wrote:
/opt/mailman/core/var/templates/site/en/list:member:generic:footer
But this is not being honored by the mailman container. I have restarted all of the containers. Is there something else I need to do?
That's only one place the template is looked for. The search is first list, then domain then site.
So the search will be first in /opt/mailman/core/var/templates/list/<list-id>/en/ followed by /opt/mailman/core/var/templates/domains/<domain>/en/ followed by /opt/mailman/core/var/templates/site/en/
and the first list:member:regular:footer or list:member:generic:footer found is what will be used for regular deliveries and the first list:member:digest:footer or list:member:generic:footer found is what will be used for digest deliveries.
I'd probably have to look at the code, but aren't they supposed to have either .txt or .html extensions?
-- Abhilash Raj maxking@asynchronous.in
On 03/20/2018 03:18 PM, Abhilash Raj wrote:
I'd probably have to look at the code, but aren't they supposed to have either .txt or .html extensions?
Yes. I totally overlooked that and that's probably the real issue. the name should be list:member:generic:footer.txt
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Abhilash Raj
-
jwhathaway@locklaw.com
-
Mark Sapiro