diff --git a/manifests/site.pp b/manifests/site.pp index 903cfbd0c0..91fc4965ce 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -310,7 +310,7 @@ node "lists.openstack.org" { 'mordred@inaugust.com', 'andrew@linuxjedi.co.uk', 'devananda.vdv@gmail.com', - 'duncan@dreamhost.com'], + 'duncan@dreamhost.com'], mailman_domains => ['stagelists.openstack.org'], } @@ -321,6 +321,18 @@ node "lists.openstack.org" { realize ( User::Virtual::Localuser["oubiwann"], ) + + file { '/usr/share/mailman/en': + owner => 'root', + group => 'list', + mode => 644, + ensure => 'directory', + recurse => true, + require => Package['mailman'], + source => [ + "puppet://modules/mailman/html-templates-en", + ], + } } node "docs.openstack.org" { diff --git a/modules/mailman/files/html-templates-en/admindbdetails.html b/modules/mailman/files/html-templates-en/admindbdetails.html new file mode 100644 index 0000000000..a6b7eb96d6 --- /dev/null +++ b/modules/mailman/files/html-templates-en/admindbdetails.html @@ -0,0 +1,60 @@ +The administrative requests are displayed in one of two ways, on a summary page, and on a details page. +The summary page contains pending subscription and unsubscription +requests, as well as postings being held for your approval, grouped by +sender email address. The details page contains a more detailed view of +each held message, including the all the message's headers and an +excerpt of the message body. + +
On all the pages, the following actions are available: + +
For held messages, turn on the Preserve option if you want to +save a copy of the message for the site administrator. This is useful +for abusive messages that you want to discard, but need to keep a record +of for later inspection. + +
Turn on the Forward to option, and fill in the forwarding +address if you want to forward the message to someone else not on the +list. To edit a held message before it is sent on to the list, you +should forward the message to yourself (or the list owners), and discard +the original message. Then, when the message shows up in your mailbox, +make your edits and resend the message to the list, including an +Approved: header with the list password as its value. It is +proper netiquette in this case to include a note in the resent message, +explaining that you have modified the text. + +
If the sender is a list member who is being moderated, you can +optionally clear their moderation flag. This is useful when your list +is configured to put new members on probation, and you've decided that +this member can be trusted to post to the list without approval. + +
If the sender is not a list member, you can add the email address to +a sender filter. Sender filters are described on the sender filter privacy page, and may be one of +auto-accept (Accepts), auto-hold (Holds), +auto-reject (Rejects), or auto-discard (Discards). This +option will not be available if the address is already on one of the +sender filters. + +
When you're finished, click on the Submit All Data button at +the top or bottom of the page. This button will submit all selected +actions for all administrative requests that you've made a decision for. + +
Return to the summary page. diff --git a/modules/mailman/files/html-templates-en/admindbpreamble.html b/modules/mailman/files/html-templates-en/admindbpreamble.html new file mode 100644 index 0000000000..659b77e729 --- /dev/null +++ b/modules/mailman/files/html-templates-en/admindbpreamble.html @@ -0,0 +1,10 @@ +This page contains a subset of the %(listname)s mailing list +postings that are being held for your approval. It currently shows +%(description)s + +
For each administrative request, please select the action to take, +clicking on the Submit All Data when finished. More detailed +instructions are available here. + +
You can also view a summary of all +pending requests. diff --git a/modules/mailman/files/html-templates-en/admindbsummary.html b/modules/mailman/files/html-templates-en/admindbsummary.html new file mode 100644 index 0000000000..20ffef5846 --- /dev/null +++ b/modules/mailman/files/html-templates-en/admindbsummary.html @@ -0,0 +1,14 @@ +This page contains a summary of the current set of administrative +requests requiring your approval for the +%(listname)s mailing list. +First, you will find the list of pending +subscription and unsubscription requests, if any, followed by any +postings being held for your approval. + +
For each administrative request, please select the action to take, +clicking on the Submit All Data button when finished. +More detailed instructions are also +available. + +
You can also view the details of all +held postings. diff --git a/modules/mailman/files/html-templates-en/adminsubscribeack.txt b/modules/mailman/files/html-templates-en/adminsubscribeack.txt new file mode 100644 index 0000000000..388a3a2401 --- /dev/null +++ b/modules/mailman/files/html-templates-en/adminsubscribeack.txt @@ -0,0 +1,3 @@ +%(member)s has been successfully subscribed to %(listname)s. + + diff --git a/modules/mailman/files/html-templates-en/adminunsubscribeack.txt b/modules/mailman/files/html-templates-en/adminunsubscribeack.txt new file mode 100644 index 0000000000..2ebcfeb707 --- /dev/null +++ b/modules/mailman/files/html-templates-en/adminunsubscribeack.txt @@ -0,0 +1,2 @@ +%(member)s has been removed from %(listname)s. + diff --git a/modules/mailman/files/html-templates-en/admlogin.html b/modules/mailman/files/html-templates-en/admlogin.html new file mode 100644 index 0000000000..4dd2574c27 --- /dev/null +++ b/modules/mailman/files/html-templates-en/admlogin.html @@ -0,0 +1,40 @@ + +
+
+ Last message date:
+ %(lastdate)s
+ Archived on: %(archivedate)s
+
+