aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/postfix-satellite
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-06-19 21:43:07 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-08 09:03:13 +0200
commitddca69efe0689a566b84ce145dc52e19f64b9df2 (patch)
treed253b9638170c0dcdafd24fd31c2d29909bef14c /ansible/roles/postfix-satellite
parent8eb97940adba404550ee9c123c95d2d85a93e878 (diff)
downloadinfra-ddca69efe0689a566b84ce145dc52e19f64b9df2.tar.gz
infra-ddca69efe0689a566b84ce145dc52e19f64b9df2.tar.bz2
infra-ddca69efe0689a566b84ce145dc52e19f64b9df2.tar.xz
infra-ddca69efe0689a566b84ce145dc52e19f64b9df2.zip
o Configuring postfix for numquam.
Diffstat (limited to 'ansible/roles/postfix-satellite')
-rw-r--r--ansible/roles/postfix-satellite/defaults/main.yml1
-rw-r--r--ansible/roles/postfix-satellite/tasks/postfix-satellite.yml2
2 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/postfix-satellite/defaults/main.yml b/ansible/roles/postfix-satellite/defaults/main.yml
new file mode 100644
index 0000000..e25f846
--- /dev/null
+++ b/ansible/roles/postfix-satellite/defaults/main.yml
@@ -0,0 +1 @@
+postfix_satellite__mynetworks: "127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128"
diff --git a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
index a92250a..8a11a84 100644
--- a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
+++ b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
@@ -22,6 +22,8 @@
value: "{{ postfix_satellite__myorigin }}"
- key: "mydestination"
value: ""
+ - key: "mynetworks"
+ value: "{{ postfix_satellite__mynetworks }}"
- key: "smtp_sasl_auth_enable"
value: "yes"
- key: "smtp_sasl_password_maps"