From 0420cb5d0f6029c4e1ed369c1cb6966930f74fc0 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 24 Mar 2018 13:19:50 -0400 Subject: [PATCH] Mailman: set default list footer Add links to the list archive and guidelines to the default footer. https://pagure.io/fedora-infrastructure/issue/6794 --- roles/mailman/files/mailman-generic-list-footer | 6 ++++++ roles/mailman/tasks/main.yml | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 roles/mailman/files/mailman-generic-list-footer diff --git a/roles/mailman/files/mailman-generic-list-footer b/roles/mailman/files/mailman-generic-list-footer new file mode 100644 index 0000000000..9d8f9765c6 --- /dev/null +++ b/roles/mailman/files/mailman-generic-list-footer @@ -0,0 +1,6 @@ +_______________________________________________ +$display_name mailing list -- $listname +To unsubscribe send an email to ${short_listname}-leave@${domain} +Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html +List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines +List Archives: ${hyperkitty_url} diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 7b1bdd0456..4446a4ee9c 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -196,6 +196,14 @@ notify: - restart mailman3 +- name: set default list footer + copy: src=mailman-generic-list-footer + dest=/var/lib/mailman3/templates/site/en/list:member:generic:footer + owner=mailman group=mailman mode=0644 + tags: + - config + - mailman + # # Crontab