Merge ~hloeung/mailman3-core-charm:master into mailman3-core-charm:master

Proposed by Haw Loeung
Status: Merged
Approved by: Barry Price
Approved revision: 64bcd88764c9c7ac1b53675e01480144eeef72a7
Merged at revision: 954f208556f5d78acc794fbd0650c3b62620729e
Proposed branch: ~hloeung/mailman3-core-charm:master
Merge into: mailman3-core-charm:master
Diff against target: 27 lines (+4/-1)
2 files modified
reactive/mailman3_core.py (+3/-0)
templates/mailman-hyperkitty.tmpl (+1/-1)
Reviewer Review Type Date Requested Status
Barry Price Approve
Review via email: mp+347267@code.launchpad.net

Commit message

Fixed archiver URL and also postfix relaying

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Barry Price (barryprice) wrote :

+1

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 954f208556f5d78acc794fbd0650c3b62620729e

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/reactive/mailman3_core.py b/reactive/mailman3_core.py
2index 99013c4..c9e7df3 100644
3--- a/reactive/mailman3_core.py
4+++ b/reactive/mailman3_core.py
5@@ -55,6 +55,9 @@ def initial_setup():
6 @when_not('mailman.postfix.configured')
7 def configure_postfix():
8 hookenv.status_set('maintenance', 'configuring postfix for posts to mailing lists')
9+ subprocess.check_output(['postconf', 'inet_interfaces=all',
10+ 'default_transport=smtp', 'relay_transport=smtp',
11+ 'smtpd_relay_restrictions=permit_mynetworks defer_unauth_destination'])
12 subprocess.check_output(['postconf', 'transport_maps=hash:/var/lib/mailman3/data/postfix_lmtp',
13 'local_recipient_maps=hash:/var/lib/mailman3/data/postfix_lmtp',
14 'relay_domains=hash:/var/lib/mailman3/data/postfix_domains'])
15diff --git a/templates/mailman-hyperkitty.tmpl b/templates/mailman-hyperkitty.tmpl
16index d844838..c702ca9 100644
17--- a/templates/mailman-hyperkitty.tmpl
18+++ b/templates/mailman-hyperkitty.tmpl
19@@ -3,7 +3,7 @@
20 # address will be used by Mailman to forward incoming emails to HyperKitty
21 # for archiving. It does not need to be publicly available, in fact it's
22 # better if it is not.
23-base_url: http://{{ config.archiver_ip }}/hyperkitty/
24+base_url: http://{{ config.archiver_ip }}/mailman3/hyperkitty/
25 # Shared API key, must be the identical to the value in HyperKitty's
26 # settings.
27 api_key: {{ config.archiver_key }}

Subscribers

People subscribed via source and target branches