Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
communication
Commits
7a107269
Commit
7a107269
authored
May 04, 2021
by
Lars Beckers
Browse files
postfix: fix fsmpi special caseing
parent
9b9fddb8
Pipeline
#3016
passed with stage
in 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
postfix/templates/main.cf.j2
View file @
7a107269
# 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 %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment