X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=0f6fe4fdc1cc1d261ffdadcf9ec2a7a02ae9a488;hb=2862f52368324540024f3a3c010fa232d5a4845e;hp=1eda24001c02f96a6f9ebab64ed1df4da71f74b6;hpb=9e86693481263eacc3ee073d74fa4255e6d0cc35;p=dovecot-cn.git diff --git a/debian/postinst b/debian/postinst index 1eda240..0f6fe4f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -57,6 +57,14 @@ cp_check_and_sed '#mail_location' \ 's|#mail_location.*|mail_location=mbox:~/mail:INBOX=/var/mail/%u|g' \ /etc/dovecot/dovecot.conf || true +# trazio zelja +cp_check_and_sed '^ssl_disable' \ + 's/^ssl_disable = yes/#ssl_disable = yes/g' \ + /etc/dovecot/dovecot.conf || true + +cp_check_and_sed '#ssl = yes' \ + 's/^#ssl = yes/ssl = yes/g' \ + /etc/dovecot/dovecot.conf || true # restart if [ -x /usr/sbin/invoke-rc.d ]; then @@ -64,3 +72,5 @@ if [ -x /usr/sbin/invoke-rc.d ]; then else [ -x /etc/init.d/dovecot ] && /etc/init.d/dovecot restart fi + +#DEBHELPER#