From ddca69efe0689a566b84ce145dc52e19f64b9df2 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 19 Jun 2019 21:43:07 +0200 Subject: o Configuring postfix for numquam. --- ansible/roles/postfix-satellite/defaults/main.yml | 1 + ansible/roles/postfix-satellite/tasks/postfix-satellite.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 ansible/roles/postfix-satellite/defaults/main.yml (limited to 'ansible/roles') 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" -- cgit v1.2.3