summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/postfix/tls_policy.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/templates/etc/postfix/tls_policy.j2')
-rw-r--r--roles/common/templates/etc/postfix/tls_policy.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/common/templates/etc/postfix/tls_policy.j2 b/roles/common/templates/etc/postfix/tls_policy.j2
new file mode 100644
index 0000000..b4fc453
--- /dev/null
+++ b/roles/common/templates/etc/postfix/tls_policy.j2
@@ -0,0 +1,6 @@
+# {{ ansible_managed }}
+
+[outgoing.fripost.org]:{{ postfix_instance.out.port }} fingerprint ciphers=high protocols=TLSv1.2
+{% for x in tls_policy.results %}
+ match={{ x.stdout }}
+{% endfor %}