Skip to content
Snippets Groups Projects
Commit 7a107269 authored by Lars Beckers's avatar Lars Beckers
Browse files

postfix: fix fsmpi special caseing

parent 9b9fddb8
No related branches found
No related tags found
1 merge request!16Minimal Viable FSMPI Deployment
Pipeline #3016 passed
# 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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment