projects
/
dovecot-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prva verzija za jessie
[dovecot-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
b3892be
..
110f226
100755
(executable)
--- 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
'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
# restart
if [ -x /usr/sbin/invoke-rc.d ]; then
[ -x /etc/init.d/dovecot ] && invoke-rc.d dovecot restart