'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