From 7ba5813e39c8229fbbae07c6d61b0499b50abb4a Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 10 Oct 2023 14:46:06 +0200 Subject: [PATCH] mail: make compatiable with Debian 12 --- roles/mail/templates/mailman/mailman-hyperkitty.cfg.j2 | 6 ++++-- roles/mail/templates/mailman/mailman.cfg.j2 | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/mail/templates/mailman/mailman-hyperkitty.cfg.j2 b/roles/mail/templates/mailman/mailman-hyperkitty.cfg.j2 index 165e1a3..690dc45 100644 --- a/roles/mail/templates/mailman/mailman-hyperkitty.cfg.j2 +++ b/roles/mail/templates/mailman/mailman-hyperkitty.cfg.j2 @@ -13,9 +13,11 @@ # 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://localhost/mailman3/hyperkitty/ base_url: https://{{ mailman_domain }}/mailman3/hyperkitty/ -# Shared API key, must be the identical to the value in HyperKitty's -# settings. +# The shared api_key, must be identical except for quoting to the value of +# MAILMAN_ARCHIVER_KEY in HyperKitty's settings. api_key: {{ mailman3_archiverkey }} diff --git a/roles/mail/templates/mailman/mailman.cfg.j2 b/roles/mail/templates/mailman/mailman.cfg.j2 index 54bf6ba..afed73f 100644 --- a/roles/mail/templates/mailman/mailman.cfg.j2 +++ b/roles/mail/templates/mailman/mailman.cfg.j2 @@ -38,7 +38,7 @@ lock_file: $lock_dir/master.lck [database] class: mailman.database.postgresql.PostgreSQLDatabase -url: postgres://{{ mailman3_dbuser }}:{{ mailman3_dbpass }}@localhost/{{ mailman3_dbname }} +url: postgresql://{{ mailman3_dbuser }}:{{ mailman3_dbpass }}@localhost/{{ mailman3_dbname }} debug: no [logging.debian]