X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=dovecot-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=1bdbdfa83bc57240f0d4a095b116cfcc984e1f5a;hp=60e38cc1906f2cecece9ba176162bae9a2493aa2;hb=9ee1e6893c0c1096acfe8e7116fcf361253070f7;hpb=042a35686afb30b7bf6533d68cf6e48869eab3a8 diff --git a/debian/postinst b/debian/postinst index 60e38cc..1bdbdfa 100755 --- a/debian/postinst +++ b/debian/postinst @@ -44,8 +44,12 @@ cp_check_and_sed '#quota = maildir' \ /etc/dovecot/dovecot.conf || true # dodano zbog backward compatibility (etch->lenny) -cp_check_and_sed 'mail_extra_groups' \ - 's/mail_extra_groups/mail_privileged_group/g' \ +cp_check_and_sed '^mail_extra_groups' \ + 's/^mail_extra_groups/mail_privileged_group/g' \ + /etc/dovecot/dovecot.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' \ /etc/dovecot/dovecot.conf || true