1 |
diff -Nur smeserver-qpsmtpd-2.4.0/createlinks smeserver-qpsmtpd-2.4.0_bz9162/createlinks |
2 |
--- smeserver-qpsmtpd-2.4.0/createlinks 2016-01-07 19:05:07.589726072 +0100 |
3 |
+++ smeserver-qpsmtpd-2.4.0_bz9162/createlinks 2016-01-07 19:05:22.916726235 +0100 |
4 |
@@ -98,6 +98,7 @@ |
5 |
timeoutsmtpd |
6 |
tls_before_auth |
7 |
tls_ciphers |
8 |
+ tls_protocols |
9 |
)); |
10 |
templates2events("$config/badhelo", 'ip-change'); |
11 |
templates2events("$config/goodrcptto", qw( |
12 |
diff -Nur smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/tls_protocols/10protocols smeserver-qpsmtpd-2.4.0_bz9162/root/etc/e-smith/templates/var/service/qpsmtpd/config/tls_protocols/10protocols |
13 |
--- smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/tls_protocols/10protocols 1970-01-01 01:00:00.000000000 +0100 |
14 |
+++ smeserver-qpsmtpd-2.4.0_bz9162/root/etc/e-smith/templates/var/service/qpsmtpd/config/tls_protocols/10protocols 2016-01-07 19:04:08.507725492 +0100 |
15 |
@@ -0,0 +1,6 @@ |
16 |
+{ |
17 |
+$OUT .= 'SSLv23'; |
18 |
+$OUT .= ':!SSLv2' unless ($qpsmtpd{SSLv2} || 'disabled') eq 'enabled'; |
19 |
+$OUT .= ':!SSLv3' unless ($qpsmtpd{SSLv3} || 'disabled') eq 'enabled'; |
20 |
+$OUT .= ':!TLSv1' unless ($qpsmtpd{TLSv1} || 'enabled') eq 'enabled'; |
21 |
+} |