Skip to content

Commit

Permalink
Merge pull request #64 from Oefenweb/inet-protocols-and-inet-interfac…
Browse files Browse the repository at this point in the history
…es-added-with-parenthesis

inet_protocols and inet_interfaces added with parenthesis
  • Loading branch information
tersmitten authored Jan 31, 2019
2 parents dfa105c + 1b7289e commit eced6a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/etc/postfix/main.cf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@ mydestination = {{ postfix_mydestination | join(', ') }}
mynetworks = {{ postfix_mynetworks | join(' ') }}
mailbox_size_limit = 0
recipient_delimiter = +
{% if postfix_inet_interfaces is string %}
inet_interfaces = {{ postfix_inet_interfaces }}
{% else %}
inet_interfaces = {{ postfix_inet_interfaces | join(', ') }}
{% endif %}
{% if postfix_inet_protocols is string %}
inet_protocols = {{ postfix_inet_protocols }}
{% else %}
inet_protocols = {{ postfix_inet_protocols | join(', ') }}
{% endif %}

{% if postfix_relayhost %}
relayhost = [{{ postfix_relayhost }}]:{{ postfix_relayhost_port }}
Expand Down

0 comments on commit eced6a8

Please sign in to comment.