Update config to full scabbers Mailman config.
This commit is contained in:
parent
e7d98ef1ec
commit
968796fe17
|
@ -0,0 +1,22 @@
|
|||
# This is the mailman extension configuration file to enable HyperKitty as an
|
||||
# archiver. Remember to add the following lines in the mailman.cfg file:
|
||||
#
|
||||
# [archiver.hyperkitty]
|
||||
# class: mailman_hyperkitty.Archiver
|
||||
# enable: yes
|
||||
# configuration: /etc/mailman3/mailman-hyperkitty.cfg
|
||||
#
|
||||
|
||||
[general]
|
||||
|
||||
# This is your HyperKitty installation, preferably on the localhost. This
|
||||
# address will be used by Mailman to forward incoming emails to HyperKitty
|
||||
# for archiving. It does not need to be publicly available, in fact it's
|
||||
# better if it is not.
|
||||
# However, if your Mailman installation is accessed via HTTPS, the URL needs
|
||||
# to match your SSL certificate (e.g. https://lists.example.com/hyperkitty).
|
||||
base_url: http://lists.cryhavoc.org.uk/mailman3/hyperkitty/
|
||||
|
||||
# The shared api_key, must be identical except for quoting to the value of
|
||||
# MAILMAN_ARCHIVER_KEY in HyperKitty's settings.
|
||||
api_key: '{{ pillar['mailman']['archiver_key'] }}'
|
|
@ -129,7 +129,7 @@ USE_TZ = True
|
|||
|
||||
|
||||
# Set default domain for email addresses.
|
||||
EMAILNAME = 'localhost.local'
|
||||
EMAILNAME = 'lunch.org.uk'
|
||||
|
||||
# If you enable internal authentication, this is the address that the emails
|
||||
# will appear to be coming from. Make sure you set a valid domain name,
|
||||
|
@ -187,7 +187,7 @@ SOCIALACCOUNT_PROVIDERS = {
|
|||
# http://django-compressor.readthedocs.io/en/latest/usage/#offline-compression
|
||||
COMPRESS_OFFLINE = True
|
||||
|
||||
POSTORIUS_TEMPLATE_BASE_URL = 'http://localhost/mailman3/'
|
||||
POSTORIUS_TEMPLATE_BASE_URL = 'https://lists.cryhavoc.org.uk/mailman3/'
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
Q_CLUSTER = {
|
||||
|
|
|
@ -12,6 +12,11 @@ mailman3_conf:
|
|||
- group: list
|
||||
- mode: 0640
|
||||
- template: jinja
|
||||
- /etc/mailman3/mailman-hyperkitty.cfg:
|
||||
- source: salt://mailman/etc/mailman-hyperkitty.cfg
|
||||
- group: list
|
||||
- mode: 0640
|
||||
- template: jinja
|
||||
- /etc/mailman3/mailman-web.py:
|
||||
- source: salt://mailman/etc/mailman-web.py
|
||||
- group: www-data
|
||||
|
|
Loading…
Reference in New Issue