flora-6: postfix should use list.pub.solar as

hostname

- Send postmaster and root mails to admins@pub.solar
- Add TODO comment about django-keycloak
This commit is contained in:
teutat3s 2023-02-03 14:19:04 +01:00
parent 008e14482f
commit 5e5fb64dde
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -21,6 +21,9 @@ in {
transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
local_recipient_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
};
rootAlias = "admins@pub.solar";
postmasterAlias = "admins@pub.solar";
hostname = "list.pub.solar";
};
services.mailman = {
@ -32,6 +35,17 @@ in {
siteOwner = "admins@pub.solar";
};
# TODO add django-keycloak as auth provider
# https://django-keycloak.readthedocs.io/en/latest/
## Extend settings.py directly since this can't be done via JSON
## settings (services.mailman.webSettings)
#environment.etc."mailman3/settings.py".text = ''
# INSTALLED_APPS.extend([
# "allauth.socialaccount.providers.github",
# "allauth.socialaccount.providers.gitlab"
# ])
#'';
systemd.services.mailman-uwsgi = let
uwsgiConfig.uwsgi = {
type = "normal";