Hello.
Is there any way to enable footer for some lists at the same time disable for lists. I maintain an mailman3 instance and some of the lists in it need the footer message well some not.
Regards, Abhijith.
On 08/28/2018 06:46 PM, Abhijith PA via Mailman-users wrote:
Hello.
Is there any way to enable footer for some lists at the same time disable for lists. I maintain an mailman3 instance and some of the lists in it need the footer message well some not.
You can make list specific templates for list:member:regular:footer and/or list:member:digest:footer. If the template is empty, no footer will be added.
See <https://mailman.readthedocs.io/en/latest/src/mailman/rest/docs/templates.html> and <https://mailman.readthedocs.io/en/latest/src/mailman/handlers/docs/decorate.html>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi.
On Wednesday 29 August 2018 08:53 AM, Mark Sapiro wrote:
On 08/28/2018 06:46 PM, Abhijith PA via Mailman-users wrote:
Hello.
Is there any way to enable footer for some lists at the same time disable for lists. I maintain an mailman3 instance and some of the lists in it need the footer message well some not.
You can make list specific templates for list:member:regular:footer and/or list:member:digest:footer. If the template is empty, no footer will be added.
If I understand correctly, temp@lists.example.com:member:regular:footer file need to created for /temp mailinglist/ ?
--abhijith
On 09/01/2018 10:51 AM, Abhijith PA via Mailman-users wrote:
If I understand correctly, temp@lists.example.com:member:regular:footer file need to created for /temp mailinglist/ ?
Not exactly. Assuming default settings and English the file would go in Mailman's var/ directory at var/templates/lists/temp.lists.example.com/en/list:member:regular:footer.txt
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
From lists imported by import21, the colon in the files are substituted with underscores. Instead of list:member:regular:footer.txt the file are called list_member_regular_footer.txt
And I wonder why having a footer text makes the mail contain the original HTML message sent to the list as attachment both in .txt and .html and the footer-text from list_member_regular_footer.txt as inline message.
'collapse_alternatives': False, 'convert_html_to_plaintext': False, 'filter_content': False, 'include_rfc2369_headers': True, 'posting_pipeline': 'default-posting-pipeline',
-- Henrik Rasmussen her@adm.ku.dk University of Copenhagen, Danmark
-----Oprindelig meddelelse----- Fra: Mark Sapiro <mark@msapiro.net> Sendt: 1. september 2018 20:17 Til: mailman-users@mailman3.org Emne: [MM3-users] Re: footer message
On 09/01/2018 10:51 AM, Abhijith PA via Mailman-users wrote:
If I understand correctly, temp@lists.example.com:member:regular:footer file need to created for /temp mailinglist/ ?
Not exactly. Assuming default settings and English the file would go in Mailman's var/ directory at var/templates/lists/temp.lists.example.com/en/list:member:regular:footer.txt
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Sorry for not rep[lying sooner. This got misplaced.
On 9/20/18 6:14 AM, Henrik Rasmussen wrote:
From lists imported by import21, the colon in the files are substituted with underscores. Instead of list:member:regular:footer.txt the file are called list_member_regular_footer.txt
The latest import21 doesn't do that any more.
And I wonder why having a footer text makes the mail contain the original HTML message sent to the list as attachment both in .txt and .html and the footer-text from list_member_regular_footer.txt as inline message.
See <https://wiki.list.org/x/4030707>. While aimed at Mailman 2.1, much of this is relevant to Mailman 3.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Abhijith PA
-
Henrik Rasmussen
-
Mark Sapiro