X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=911a04ab101f8ceb552ee7f999b1a3278a6151a2;hb=5ec07b4e41e94474b7eb5294462d778533aef8e6;hp=1caedc80a59a272cc85807ef55d4e3481dbe1ab7;hpb=878b239bbaf158f89da80f5a87fcbe2441a05f68;p=dovecot-cn.git diff --git a/debian/postinst b/debian/postinst index 1caedc8..911a04a 100755 --- a/debian/postinst +++ b/debian/postinst @@ -33,7 +33,12 @@ cp_check_and_sed 'pop3_client_workarounds' \ /etc/dovecot/conf.d/20-pop3.conf || true cp_check_and_sed '#ssl_cipher_list' \ - 's/#ssl_cipher_list.*/ssl_cipher_list = ALL:!aNULL:!eNULL:!ADH!LOW:!MEDIUM:!EXP:!SSLv2:HIGH/g' \ + 's/#ssl_cipher_list.*/ssl_cipher_list = ALL:!aNULL:!eNULL:!ADH!LOW:!MEDIUM:!EXP:HIGH/g' \ + /etc/dovecot/conf.d/10-ssl.conf || true + +# izbacujemo SSLv2 +cp_check_and_sed 'ssl_cipher_list' \ + 's/:\!SSLv2//g' \ /etc/dovecot/conf.d/10-ssl.conf || true # trazio zelja @@ -60,14 +65,64 @@ if ! grep -q ^ssl_cert /etc/dovecot/conf.d/10-ssl.conf \ cp_check_and_sed '#ssl_key =