Skip to content
Snippets Groups Projects
Commit a6f81d0c authored by ale's avatar ale
Browse files

Set the internal networks from config in Postfix/SA

parent 97f006ac
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
ldap = proxy:ldap:/etc/postfix/ldap/
mynetworks = 127.0.0.0/8 [::1]/128 172.16.1.0/24
mynetworks = 127.0.0.0/8 [::1]/128 {% for o in net_overlays %}{{ o.network }} {% endfor %}
# Don't anvil(8) control the internal port.
smtpd_client_connection_count_limit = 0
......
......@@ -4,7 +4,7 @@
ldap = proxy:ldap:/etc/postfix/ldap/
mynetworks = 127.0.0.0/8 [::1]/128 172.16.1.0/24
mynetworks = 127.0.0.0/8 [::1]/128 {% for o in net_overlays %}{{ o.network }} {% endfor %}
smtpd_authorized_xforward_hosts = $mynetworks
......
......@@ -11,8 +11,8 @@
# The ring0 network is trusted, which implies that email originating
# from them (not just relayed through) will usually not be considered
# spam.
trusted_networks 172.16.0.0/16
internal_networks 172.16.0.0/16
trusted_networks {% for o in net_overlays %}{{ o.network }} {% endfor %}
internal_networks {% for o in net_overlays %}{{ o.network }} {% endfor %}
lock_method flock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment