forked from data.coop/ansible
Fix sender domains for Postfix
This commit is contained in:
parent
8c24a02a43
commit
9920676155
|
@ -23,6 +23,6 @@
|
||||||
- "{{ services.postfix.volume_folder }}/dkim:/etc/opendkim/keys"
|
- "{{ services.postfix.volume_folder }}/dkim:/etc/opendkim/keys"
|
||||||
env:
|
env:
|
||||||
# Get all services which have allowed_sender_domain defined
|
# Get all services which have allowed_sender_domain defined
|
||||||
ALLOWED_SENDER_DOMAINS: "{{ base_domain }} {{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}"
|
ALLOWED_SENDER_DOMAINS: "{{ 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"
|
||||||
|
|
Loading…
Reference in a new issue