From 5502870384ff1dea9c50e89131a410b363655433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Sat, 3 Aug 2024 20:39:24 +0200 Subject: [PATCH] Add data.coop to postfix ALLOWED_SENDER_DOMAINS. --- roles/docker/templates/compose-files/postfix.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/docker/templates/compose-files/postfix.yml.j2 b/roles/docker/templates/compose-files/postfix.yml.j2 index 6a641119..f4606104 100644 --- a/roles/docker/templates/compose-files/postfix.yml.j2 +++ b/roles/docker/templates/compose-files/postfix.yml.j2 @@ -13,7 +13,7 @@ services: - "./dkim:/etc/opendkim/keys" environment: # Get all services which have allowed_sender_domain defined - ALLOWED_SENDER_DOMAINS: "{{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}" + ALLOWED_SENDER_DOMAINS: "data.coop {{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}" HOSTNAME: "{{ services.postfix.domain }}" # the name the smtp server will identify itself as DKIM_AUTOGENERATE: true