Hey folks!
Pingou would like to announce the availability of mailing-lists on
lists.pagure.io with the 5.0 release. The following patch should add
the new domain to our mailing list server.
Affected services are the mailman server and the proxies.
Can I get a couple +1s?
A.
commit 46c844f7ad9dfbd824c49fcbd95be3575345d2df
Author: Aurélien Bompard <aurelien(a)bompard.org>
Date: Thu Sep 20 08:28:47 2018 +0000
Add
lists.pagure.org to Mailman
Signed-off-by: Aurélien Bompard <aurelien(a)bompard.org>
diff --git a/playbooks/include/proxies-reverseproxy.yml
b/playbooks/include/proxies-reverseproxy.yml
index 8d35a5f..8461162 100644
--- a/playbooks/include/proxies-reverseproxy.yml
+++ b/playbooks/include/proxies-reverseproxy.yml
@@ -71,6 +71,15 @@
keephost: true
proxyurl: "{{ varnish_url }}"
+ - role: httpd/reverseproxy
+ website: lists.pagure.io
+ destname: mailman3
+ localpath: /
+ remotepath: /
+ header_scheme: true
+ keephost: true
+ proxyurl: "{{ varnish_url }}"
+
# The place for the raw originals
- role: httpd/reverseproxy
website:
meetbot-raw.fedoraproject.org
diff --git a/playbooks/include/proxies-websites.yml
b/playbooks/include/proxies-websites.yml
index 9c0e173..65597cd 100644
--- a/playbooks/include/proxies-websites.yml
+++ b/playbooks/include/proxies-websites.yml
@@ -901,6 +901,12 @@
-
release-monitoring.org
when: env == "staging"
+ - role: httpd/website
+ site_name: lists.pagure.io
+ sslonly: true
+ cert_name: lists.pagure.io.cert
+ SSLCertificateChainFile: lists.pagure.io.intermediate.cert
+
# fedorahosted is retired. We have the site here so we can redirect it.
- role: httpd/website
diff --git a/roles/base/files/postfix/main.cf/main.cf.smtp-mm
b/roles/base/files/postfix/main.cf/main.cf.smtp-mm
index 65e3cf7..3130cd0 100644
--- a/roles/base/files/postfix/main.cf/main.cf.smtp-mm
+++ b/roles/base/files/postfix/main.cf/main.cf.smtp-mm
@@ -305,7 +305,7 @@ unknown_local_recipient_reject_code = 550
#
#relay_domains = $mydestination
-relay_domains = $mydestination
lists.fedoraproject.org
lists.fedorahosted.org fedorahosted.org
+relay_domains = $mydestination
lists.fedoraproject.org
lists.fedorahosted.org fedorahosted.org lists.pagure.io
# INTERNET OR INTRANET
diff --git a/roles/base/files/postfix/transports.mm-smtp
b/roles/base/files/postfix/transports.mm-smtp
index 582d455..ace4660 100644
--- a/roles/base/files/postfix/transports.mm-smtp
+++ b/roles/base/files/postfix/transports.mm-smtp
@@ -2,4 +2,5 @@
lists.fedoraproject.org smtp:[mailman01.vpn.fedoraproject.org]
lists.fedorahosted.org smtp:[mailman01.vpn.fedoraproject.org]
redhat.com smtp:[mailman01.vpn.fedoraproject.org]
lists2.fedoraproject.org smtp:[mailman01.vpn.fedoraproject.org]
+lists.pagure.io smtp:[mailman01.vpn.fedoraproject.org]
fedorahosted.org smtp:[bastion.vpn.fedoraproject.org]
diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml
index 41e3ff6..a665bc1 100644
--- a/roles/mailman/tasks/main.yml
+++ b/roles/mailman/tasks/main.yml
@@ -519,6 +519,14 @@
- restart memcached
+# SSL
+- name: Letsencrypt for
lists.pagure.org
+ include_role: name=letsencrypt
+ vars:
+ site_name: lists.pagure.io
+ when: env == 'production'
+
+
# Start services
- name: start services
service: state=started enabled=yes name={{ item }}