From 922807a9c55e4059e5e1e676617fd10df700229e Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Tue, 18 Mar 2014 21:01:40 +0100
Subject: [PATCH] Enabled TLS for outgoing postfix smtp connections

---
 install/tpl/debian_postfix.conf.master   | 3 ++-
 install/tpl/fedora_postfix.conf.master   | 3 ++-
 install/tpl/gentoo_postfix.conf.master   | 3 ++-
 install/tpl/opensuse_postfix.conf.master | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/install/tpl/debian_postfix.conf.master b/install/tpl/debian_postfix.conf.master
index fa81944e73..e17880e950 100644
--- a/install/tpl/debian_postfix.conf.master
+++ b/install/tpl/debian_postfix.conf.master
@@ -30,4 +30,5 @@ header_checks = regexp:{config_dir}/header_checks
 mime_header_checks = regexp:{config_dir}/mime_header_checks
 nested_header_checks = regexp:{config_dir}/nested_header_checks
 body_checks = regexp:{config_dir}/body_checks
-owner_request_special = no
\ No newline at end of file
+owner_request_special = no
+smtp_tls_security_level = may
\ No newline at end of file
diff --git a/install/tpl/fedora_postfix.conf.master b/install/tpl/fedora_postfix.conf.master
index f273d3eeec..0911f2a7e5 100644
--- a/install/tpl/fedora_postfix.conf.master
+++ b/install/tpl/fedora_postfix.conf.master
@@ -27,4 +27,5 @@ header_checks = regexp:{config_dir}/header_checks
 mime_header_checks = regexp:{config_dir}/mime_header_checks
 nested_header_checks = regexp:{config_dir}/nested_header_checks
 body_checks = regexp:{config_dir}/body_checks
-inet_interfaces = all
\ No newline at end of file
+inet_interfaces = all
+smtp_tls_security_level = may
\ No newline at end of file
diff --git a/install/tpl/gentoo_postfix.conf.master b/install/tpl/gentoo_postfix.conf.master
index 9db3934f30..90ed2859fb 100644
--- a/install/tpl/gentoo_postfix.conf.master
+++ b/install/tpl/gentoo_postfix.conf.master
@@ -27,4 +27,5 @@ header_checks = regexp:{config_dir}/header_checks
 mime_header_checks = regexp:{config_dir}/mime_header_checks
 nested_header_checks = regexp:{config_dir}/nested_header_checks
 body_checks = regexp:{config_dir}/body_checks
-inet_interfaces = all
\ No newline at end of file
+inet_interfaces = all
+smtp_tls_security_level = may
\ No newline at end of file
diff --git a/install/tpl/opensuse_postfix.conf.master b/install/tpl/opensuse_postfix.conf.master
index 9db3934f30..90ed2859fb 100644
--- a/install/tpl/opensuse_postfix.conf.master
+++ b/install/tpl/opensuse_postfix.conf.master
@@ -27,4 +27,5 @@ header_checks = regexp:{config_dir}/header_checks
 mime_header_checks = regexp:{config_dir}/mime_header_checks
 nested_header_checks = regexp:{config_dir}/nested_header_checks
 body_checks = regexp:{config_dir}/body_checks
-inet_interfaces = all
\ No newline at end of file
+inet_interfaces = all
+smtp_tls_security_level = may
\ No newline at end of file
-- 
GitLab