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
58d3e727
Commit
58d3e727
authored
Jul 21, 2019
by
Hinrikus Wolf
Browse files
postfix: add configuration variable for my_networks
parent
496917d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
postfix/defaults/main.yml
View file @
58d3e727
...
...
@@ -41,3 +41,5 @@ postfix_transport_maps: []
# port: 2025
# protocol: smtp
# use_mx: true
postfix_my_networks
:
[]
postfix/templates/main.cf.j2
View file @
58d3e727
...
...
@@ -5,7 +5,7 @@ inet_protocols = all
myhostname = {{ ansible_fqdn }}
myorigin = /etc/mailname
mydestination = $myhostname localhost {{ postfix_domains | join(" ") }}
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
{{ postfix_my_networks|join(" ") }}
relayhost = {{ postfix_relay_host }}
{% if postfix_transport_maps|bool %}
transport_maps = cdb:/etc/postfix/transport
...
...
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