Commit 7a107269 authored by Lars Beckers's avatar Lars Beckers
Browse files

postfix: fix fsmpi special caseing

parent 9b9fddb8
Pipeline #3016 passed with stage
in 34 seconds
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
inet_interfaces = {{ "loopback-only" if postfix_satellite_only else "all" }}
inet_protocols = all
inet_protocols = {{ "all" if not postfix_fsmpi|default(false) else "ipv4" }}
myhostname = {{ ansible_fqdn }}
myorigin = /etc/mailname
mydestination = $myhostname localhost {{ postfix_domains | join(" ") }}
......@@ -104,7 +104,7 @@ tls_ssl_options = NO_COMPRESSION
alias_maps = {{ postfix_alias_maps|join(" ") }}
alias_database = cdb:/etc/aliases
{% if virtual_aliases|default([])|count > 0 or postfix_virtual_domains|count > 0 %}
{% if virtual_aliases|default([])|count > 0 or postfix_virtual_alias_maps != ['cdb:/etc/postfix/virtual'] %}
virtual_alias_maps = {{ postfix_virtual_alias_maps|join(" ") }}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment