flora-6: postfix should use list.pub.solar as
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

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 4b5b51de90
commit 237085c5d4
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -21,6 +21,9 @@ in {
transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"]; transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
local_recipient_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 = { services.mailman = {
@ -32,6 +35,17 @@ in {
siteOwner = "admins@pub.solar"; 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 systemd.services.mailman-uwsgi = let
uwsgiConfig.uwsgi = { uwsgiConfig.uwsgi = {
type = "normal"; type = "normal";