From a946ee23282c721e2dc48fd2a277ab31cd03fe8e Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 29 Jan 2021 19:30:12 +0100 Subject: [PATCH] postfix to external addresses --- host_vars/mail01.l3d.space/vars.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/host_vars/mail01.l3d.space/vars.yml b/host_vars/mail01.l3d.space/vars.yml index be5012b..328d8c5 100644 --- a/host_vars/mail01.l3d.space/vars.yml +++ b/host_vars/mail01.l3d.space/vars.yml @@ -24,6 +24,7 @@ additional_dns_maildomains: 'mail.l3d.space imap.l3d.space smtp.l3d.space' # mailserver mailserver_domain: "{{ _mailserver_domain }}" +postfix__inet_interfaces: "127.0.0.1, ::1, {{ hostvars[ inventory_hostname ].ansible_default_ipv4.address }}, {{ hostvars[ inventory_hostname ].ansible_default_ipv6.address }}" # mail mysql access mailserver__mysql_password: "{{ _mailserver__mysql_password }}"