1 |
vip-ire |
1.1 |
diff -Nur e-smith-pop3-2.4.0/root/etc/e-smith/templates/var/service/pop3s/stunnel.conf/10ssl e-smith-pop3-2.4.0_bz9169/root/etc/e-smith/templates/var/service/pop3s/stunnel.conf/10ssl |
2 |
|
|
--- e-smith-pop3-2.4.0/root/etc/e-smith/templates/var/service/pop3s/stunnel.conf/10ssl 2016-01-07 18:36:50.553778039 +0100 |
3 |
|
|
+++ e-smith-pop3-2.4.0_bz9169/root/etc/e-smith/templates/var/service/pop3s/stunnel.conf/10ssl 2016-01-07 18:38:01.045776074 +0100 |
4 |
|
|
@@ -1,6 +1,11 @@ |
5 |
|
|
cert = /service/imap/ssl/imapd.pem |
6 |
|
|
sslVersion = all |
7 |
|
|
-options = NO_SSLv2 |
8 |
|
|
-options = NO_SSLv3 |
9 |
|
|
-options = NO_TLSv1 |
10 |
|
|
+{ |
11 |
|
|
+ |
12 |
|
|
+$OUT .= "# SSL protocols can be set with DB props SSLv2, SSLv3 and TLSv1\n"; |
13 |
|
|
+$OUT .= "options = NO_SSLv2\n" unless ($pop3s{SSLv2} || 'disabled') eq 'enabled'; |
14 |
|
|
+$OUT .= "options = NO_SSLv3\n" unless ($pop3s{SSLv3} || 'disabled') eq 'enabled'; |
15 |
|
|
+$OUT .= "options = NO_TLSv1\n" unless ($pop3s{TLSv1} || 'enabled') eq 'enabled'; |
16 |
|
|
+ |
17 |
|
|
+} |
18 |
|
|
fips = no |