Add data.coop to postfix ALLOWED_SENDER_DOMAINS.

This commit is contained in:
Viðir Valberg Guðmundsson 2024-08-03 20:39:24 +02:00
parent 3689eb7687
commit 5502870384

View file

@ -13,7 +13,7 @@ services:
- "./dkim:/etc/opendkim/keys" - "./dkim:/etc/opendkim/keys"
environment: environment:
# Get all services which have allowed_sender_domain defined # 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 HOSTNAME: "{{ services.postfix.domain }}" # the name the smtp server will identify itself as
DKIM_AUTOGENERATE: true DKIM_AUTOGENERATE: true