diff options
Diffstat (limited to 'roles/MX/templates/etc/postfix')
-rw-r--r-- | roles/MX/templates/etc/postfix/main.cf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/MX/templates/etc/postfix/main.cf.j2 b/roles/MX/templates/etc/postfix/main.cf.j2 index c0da5e7..570a797 100644 --- a/roles/MX/templates/etc/postfix/main.cf.j2 +++ b/roles/MX/templates/etc/postfix/main.cf.j2 @@ -46,7 +46,7 @@ recipient_delimiter = + {% if 'MTA-out' in group_names %} relayhost = [127.0.0.1]:{{ MTA_out.port }} {% else %} -relayhost = [{{ MTA_out.IPv4 }}]:{{ MTA_out.port }} +relayhost = [{{ MTA_out.host }}]:{{ MTA_out.port }} {% endif %} relay_domains = |