Move foundation ML to openinfra Mailman site

In keeping with its name change to the Open Infrastructure
Foundation, the general foundation mailing list is moving from
lists.openstack.org to lists.openinfra.dev. Set up address
forwarding and Web redirects to reflect this, and add a mailman list
entry for it (there's no old one to remove as it wasn't previously
included in our configuration).

Note that this should be a no-op when it merges, as the list move
will be handled manually while deployment is temporarily disabled
for the server.

Change-Id: I367dd2a3d9a1c70c14915efa729d643419375060
This commit is contained in:
Jeremy Stanley 2021-12-21 18:15:12 +00:00
parent b84bdffc08
commit b5583429b2
2 changed files with 7 additions and 2 deletions

View File

@ -35,6 +35,7 @@ exim_aliases:
user-committee-owner: spam
spam: ':fail: delivery temporarily disabled due to ongoing spam flood'
exim_domain_aliases:
foundation@lists.openstack.org: foundation@lists.openinfra.dev
staff@lists.openstack.org: staff@lists.openinfra.dev
exim_routers:
- mailman_verp_router: |
@ -190,6 +191,10 @@ mailman_sites:
description: 'The mailman site list'
admin: 'nobody@openstack.org'
password: "{{ mailman_list_password }}"
- name: foundation
description: 'General discussion list for activities of the OpenInfra Foundation'
admin: 'jeremy@openinfra.dev'
password: "{{ mailman_list_password }}"
- name: staff
description: 'Private list for OpenInfra Foundation staff members'
admin: 'jeremy@openinfra.dev'

View File

@ -15,7 +15,7 @@ RewriteEngine on
# TODO(fungi): convert this vhost into a blanket redirect to HTTPS when ready
RewriteRule ^/$ /cgi-bin/mailman/listinfo [R]
RewriteCond %{HTTP_HOST} ^lists\.openstack\.org$ [nocase]
RewriteRule /(cgi-bin/mailman/listinfo|pipermail)/(staff)(/.*|$) %{REQUEST_SCHEME}://lists.openinfra.dev/$1/$2$3 [last,redirect=permanent]
RewriteRule /(cgi-bin/mailman/listinfo|pipermail)/(foundation|staff)(/.*|$) %{REQUEST_SCHEME}://lists.openinfra.dev/$1/$2$3 [last,redirect=permanent]
# We can find mailman here:
ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
@ -84,7 +84,7 @@ Alias /images/mailman/ /usr/share/images/mailman/
RewriteEngine on
RewriteRule ^/$ /cgi-bin/mailman/listinfo [R]
RewriteCond %{HTTP_HOST} ^lists\.openstack\.org$ [nocase]
RewriteRule /(cgi-bin/mailman/listinfo|pipermail)/(staff)(/.*|$) %{REQUEST_SCHEME}://lists.openinfra.dev/$1/$2$3 [last,redirect=permanent]
RewriteRule /(cgi-bin/mailman/listinfo|pipermail)/(foundation|staff)(/.*|$) %{REQUEST_SCHEME}://lists.openinfra.dev/$1/$2$3 [last,redirect=permanent]
ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
Alias /pipermail/ /srv/mailman/{{ mailman_site.name }}/archives/public/