X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=dovecot-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=554e44b78647c71d72d0033cee54af616e56ff52;hp=bf3300e0ec65ccdcecea05414101bcfc93b14fab;hb=ab4a821c673d5fca32f2cb33f958063373adc03d;hpb=3feceea75af2b295a81e671a7ef7386e04be770d diff --git a/debian/postinst b/debian/postinst index bf3300e..554e44b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -20,21 +20,28 @@ cp_check_and_sed 'disable_plaintext_auth.*yes' \ /etc/dovecot/dovecot.conf || true cp_check_and_sed '#imap_client_workarounds' \ - 's/#imap_client_workarounds/client_workarounds/g' \ + 's/#imap_client_workarounds/imap_client_workarounds/g' \ /etc/dovecot/dovecot.conf || true cp_check_and_sed '#pop3_client_workarounds' \ - 's/#pop3_client_workarounds/client_workarounds/g' \ + 's/#pop3_client_workarounds/pop3_client_workarounds/g' \ /etc/dovecot/dovecot.conf || true cp_check_and_sed 'imap_client_workarounds' \ - 's/imap_client_workarounds.*$/client_workarounds = outlook-idle tb-extra-mailbox-sep netscape-eoh delay -newmail/g' \ + 's/imap_client_workarounds.*$/imap_client_workarounds = outlook-idle tb-extra-mailbox-sep netscape-eoh delay-newmail/g' \ /etc/dovecot/dovecot.conf || true cp_check_and_sed 'pop3_client_workarounds' \ - 's/pop3_client_workarounds.*$/client_workarounds = outlook-no-nuls oe-ns-eoh/g' \ + 's/pop3_client_workarounds.*$/pop3_client_workarounds = outlook-no-nuls oe-ns-eoh/g' \ /etc/dovecot/dovecot.conf || true +cp_check_and_sed 'pop3_uidl_format' \ + 's/pop3_uidl_format.*$/pop3_uidl_format = %v.%u/g' \ + /etc/dovecot/dovecot.conf || true + +cp_check_and_sed '#quota = maildir' \ + 's/#quota = maildir/quota = fs/g' \ + /etc/dovecot/dovecot.conf || true # restart if [ -x /usr/sbin/invoke-rc.d ]; then