X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=dovecot-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=110f226795b6708027fb7d03922c455aef2b110f;hp=b3892be04065bc442f9a8acc4082ae81e95008b6;hb=0e6678d145ec4d219dc722f1fec0be0eab122bc7;hpb=4151f5bf79d6b4d91a3c8bcbae22b2aee81fa077 diff --git a/debian/postinst b/debian/postinst index b3892be..110f226 100755 --- a/debian/postinst +++ b/debian/postinst @@ -39,6 +39,11 @@ cp_check_and_sed '#ssl =' \ 's/^#ssl =/ssl =/g' \ /etc/dovecot/conf.d/10-ssl.conf || true +# dodao ico, gasi stare SSL protokole +cp_check_and_sed '#ssl_protocols =' \ + 's/^#ssl_protocols.*/ssl_protocols = !SSLv2 !SSLv3/g' \ + /etc/dovecot/conf.d/10-ssl.conf || true + # restart if [ -x /usr/sbin/invoke-rc.d ]; then [ -x /etc/init.d/dovecot ] && invoke-rc.d dovecot restart